Tenant Receipt Voucher Listing - GET
Tenant Receipt Voucher Listing - GET API Endpoint 
                        Tenant Receipt Voucher Listing API
This endpoint retrieves a list of receipts associated with the logged-in tenant. It provides details about rental transactions, including payment information, transaction ID, and related assets.
GET
                                /v1/transaction/voucher/receipt/list
                            Request Content Type
                                application/json
                            Response Content Type
                                application/json
                            Request Header
- 
                                            Authorization: X-API-Key string requiredX-API-Key is a string of letters and numbers used to authenticate and control access to the API. It can be generated in the StoRegister management application.
- 
                                            Authorization: X-Token string requiredX-Token represents the user session token. It is a string of characters that uniquely identifies the user's session.
Response Payload:
- 
                                            succeeded booleanIndicates whether the request to retrieve receipt information was successful.
- 
                                            status stringDescribes the status of the request to retrieve receipt information.
- 
                                            data arrayAn array containing receipt information upon a successful request.
- 
                                            pagination objectDetails about pagination, including current page number, total number of pages, and overall count of items.
- 
                                            errors arrayHolds any error information if applicable.
Receipt Details
Details about the Receipt for the logged-in user.
array data
- 
                                            id unique-identifierUnique identifier for the receipt transaction.
- 
                                            transactDate stringDate of the receipt transaction.
- 
                                            transactId stringTransaction ID associated with the receipt entry.
- 
                                            transactionType stringType of transaction (e.g., RENTAL, etc.).
- 
                                            transactionTypeValue stringHuman-readable value corresponding to the transaction type.
- 
                                            grossAmount objectDetails about the gross amount (amount and formatted amount).
- 
                                            advanceAmount objectDetails about the advance amount (amount and formatted amount); it represents the amount the company owes to the tenant.
- 
                                            transactionAssetsInfoId unique-identifierTransaction assets information ID used to download the PDF document of the corresponding receipt.
Request Header
Authorization: X-API-Key --api-key-- Authorization: X-Token --user-session-token--
API Response
{
    "data": [
        {
            "id": "d721485e-cd39-48bb-aca8-47d2939956fe",
            "transactDate": "08-02-2024",
            "transactId": "CRV40",
            "transactionType": "RENTAL",
            "transactionTypeValue": "Rental",
            "grossAmount": {
                "price": 41.660,
                "formattedPrice": "41,66 €"
            },
            "advanceAmount": {
                "price": 0.000,
                "formattedPrice": "0,00 €"
            },
            "transactionAssetsInfoId": "64d9a319-b2c7-4570-b36d-5af0b9163bd5"
        },
        // ... (Additional receipt information)
    ],
    "pagination": {
        "pageNumber": 1,
        "pageCount": 1,
        "totalCount": 1
    },
    "succeeded": true,
    "status": "SUCCESS",
    "errors": null
}Error Codes
- 
                                    INVALID_PARAM_CONTACT_BOOK_IDINVALID_PARAM_CONTACT_BOOK_ID refers to invalid Contact Id, please find Contact Book Id.
- 
                                    INVALID_PARAM_BUSINESS_INFO_IDINVALID_PARAM_BUSINESS_INFO_ID refers to invalid Buisness Id, something went wrong.
- 
                                    NO_RECORDS_FOUNDNO_RECORDS_FOUND means there is no relevant information found.
- 
                                    FAILEDFAILED refers to an unsuccessful API call.
- 
                                    SOMETHING_WENT_WRONGSOMETHING_WENT_WRONG refers to technical glitch. Please contact administrator.