curl --location --request GET 'https://hom.roit.ai/financial-account-payable/api/v1/account-payable?masterId' \
--header 'Authorization;'{
"timestamp": 0,
"status": "string",
"message": "string",
"data": {
"data": [
{
"company": {
"masterId": "string",
"groupId": "string",
"companyId": "string",
"establishmentId": "string",
"establishmentTradeName": "string"
},
"type": "CONSUMPTION_BILL",
"subType": "string",
"dueDate": "string",
"issueDate": "string",
"detail": {},
"holderBankAccountId": "string",
"installmentDetail": {
"installment": 0,
"installmentGroupValue": {},
"parentInstallmentId": "string",
"installmentGroupKey": "string",
"totalInstallments": 0
},
"value": {
"originalValue": {
"currencyCode": {},
"valueString": "string",
"value": 0
},
"dueValue": {
"currencyCode": {},
"valueString": "string",
"value": 0
},
"fineValue": {
"currencyCode": {},
"valueString": "string",
"value": 0
},
"interestValue": {
"currencyCode": {},
"valueString": "string",
"value": 0
},
"discountValue": {
"currencyCode": {},
"valueString": "string",
"value": 0
},
"amountPaid": {
"currencyCode": {},
"valueString": "string",
"value": 0
},
"taxValue": {
"currencyCode": {},
"valueString": "string",
"value": 0
},
"retentionTaxValue": {
"currencyCode": {},
"valueString": "string",
"value": 0
}
},
"metadata": {
"billIdentifier": {},
"erpId": {},
"file": "string",
"fileId": "string",
"origin": "CLIENT"
},
"receipt": {
"payment": "string",
"refund": "string"
},
"status": "AWAITING_PAYMENT",
"statusDescription": "string",
"scheduleDate": "string",
"paidDate": "string",
"canceled": {
"canceledAt": "string",
"reason": "string",
"canceledBy": {
"email": "string",
"name": "string"
}
},
"paymentType": "TED",
"paymentPurpose": {},
"isLocked": {},
"accountPayableHash": "string",
"taxData": {
"beneficiaryNationalRegister": "string",
"beneficiaryTradeName": "string",
"value": {
"originalValue": {
"currencyCode": {},
"valueString": "string",
"value": 0
},
"dueValue": {
"currencyCode": {},
"valueString": "string",
"value": 0
},
"fineValue": {
"currencyCode": {},
"valueString": "string",
"value": 0
},
"interestValue": {
"currencyCode": {},
"valueString": "string",
"value": 0
},
"discountValue": {
"currencyCode": {},
"valueString": "string",
"value": 0
},
"amountPaid": {
"currencyCode": {},
"valueString": "string",
"value": 0
},
"taxValue": {
"currencyCode": {},
"valueString": "string",
"value": 0
},
"retentionTaxValue": {
"currencyCode": {},
"valueString": "string",
"value": 0
}
}
},
"integrationStatus": "PROCESSING"
}
],
"totalItems": 0,
"totalPages": 0,
"currentPage": 0
}
}