curl --request GET \
--url http://localhost:3001/v1/accounts-receivable \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"originalFileName": "<string>",
"filename": "<string>",
"recipientName": "<string>",
"recipientIban": "<string>",
"recipientVat": "<string>",
"recipient": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"email": "<string>",
"markedTrusted": true,
"markedTrustedDate": "2023-11-07T05:31:56Z",
"markedTrustedUser": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"email": "<string>",
"name": "<string>",
"authId": "<string>",
"role": "<string>",
"hasPushNotification": true
},
"description": "<string>",
"vat": "<string>",
"accountsPayableNumber": "22 0391919",
"paymentTermsDays": 123,
"skontoPercentage": 123,
"skontoDays": 123,
"bankAccount": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"iban": "<string>",
"bic": "<string>",
"countryCode": "<string>",
"address": "<string>"
}
},
"invoiceNumber": "<string>",
"purchaseOrder": "<string>",
"date": "<string>",
"billingPeriodStart": "<string>",
"billingPeriodEnd": "<string>",
"dueDate": "<string>",
"totalAmount": 123,
"taxRate": 123,
"skontoDate": "<string>",
"skontoAmount": 123,
"skontoRate": 123,
"currency": "EUR",
"type": "INVOICE",
"notes": "<string>",
"alreadyPaid": true,
"alreadyPaidDate": "<string>",
"archived": true,
"archivedDate": "<string>",
"archivedByUser": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"email": "<string>",
"name": "<string>",
"authId": "<string>",
"role": "<string>",
"hasPushNotification": true
},
"organization": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"slug": "<string>",
"logoFileName": "<string>",
"country": "<string>",
"vatNumber": "<string>",
"featureFlags": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"featureName": "<string>",
"isEnabled": true
}
]
},
"status": "OUTSTANDING",
"paymentMethodType": "BANK_TRANSFER",
"transactionMatches": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"bankTransaction": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"transactionId": "<string>",
"amount": 123,
"currency": "EUR",
"bookingDate": "2023-11-07T05:31:56Z",
"remittanceInformation": "<string>",
"additionalInformation": "<string>",
"counterPartyName": "<string>",
"counterPartyIban": "<string>",
"transactionType": "incoming",
"endToEndId": "<string>",
"matchedInvoicesSum": 123,
"matchingStatus": "NOT_MATCHED"
},
"matchedAmount": 123,
"matchType": "MANUAL",
"matchConfidence": "HIGH",
"matchedBy": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"email": "<string>",
"name": "<string>",
"authId": "<string>",
"role": "<string>",
"hasPushNotification": true
},
"notes": "<string>",
"metadata": {},
"matchedAt": "2023-11-07T05:31:56Z"
}
],
"manuallyMarkedPaid": true,
"manuallyMarkedPaidAt": "<string>",
"manuallyMarkedPaidBy": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"email": "<string>",
"name": "<string>",
"authId": "<string>",
"role": "<string>",
"hasPushNotification": true
},
"matchedTransactionsSum": 123
}
],
"meta": {
"page": 123,
"take": 123,
"itemCount": 123,
"pageCount": 123,
"hasPreviousPage": true,
"hasNextPage": true
}
}
Get a paginated list of accounts receivable invoices.
curl --request GET \
--url http://localhost:3001/v1/accounts-receivable \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"originalFileName": "<string>",
"filename": "<string>",
"recipientName": "<string>",
"recipientIban": "<string>",
"recipientVat": "<string>",
"recipient": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"email": "<string>",
"markedTrusted": true,
"markedTrustedDate": "2023-11-07T05:31:56Z",
"markedTrustedUser": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"email": "<string>",
"name": "<string>",
"authId": "<string>",
"role": "<string>",
"hasPushNotification": true
},
"description": "<string>",
"vat": "<string>",
"accountsPayableNumber": "22 0391919",
"paymentTermsDays": 123,
"skontoPercentage": 123,
"skontoDays": 123,
"bankAccount": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"iban": "<string>",
"bic": "<string>",
"countryCode": "<string>",
"address": "<string>"
}
},
"invoiceNumber": "<string>",
"purchaseOrder": "<string>",
"date": "<string>",
"billingPeriodStart": "<string>",
"billingPeriodEnd": "<string>",
"dueDate": "<string>",
"totalAmount": 123,
"taxRate": 123,
"skontoDate": "<string>",
"skontoAmount": 123,
"skontoRate": 123,
"currency": "EUR",
"type": "INVOICE",
"notes": "<string>",
"alreadyPaid": true,
"alreadyPaidDate": "<string>",
"archived": true,
"archivedDate": "<string>",
"archivedByUser": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"email": "<string>",
"name": "<string>",
"authId": "<string>",
"role": "<string>",
"hasPushNotification": true
},
"organization": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"slug": "<string>",
"logoFileName": "<string>",
"country": "<string>",
"vatNumber": "<string>",
"featureFlags": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"featureName": "<string>",
"isEnabled": true
}
]
},
"status": "OUTSTANDING",
"paymentMethodType": "BANK_TRANSFER",
"transactionMatches": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"bankTransaction": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"transactionId": "<string>",
"amount": 123,
"currency": "EUR",
"bookingDate": "2023-11-07T05:31:56Z",
"remittanceInformation": "<string>",
"additionalInformation": "<string>",
"counterPartyName": "<string>",
"counterPartyIban": "<string>",
"transactionType": "incoming",
"endToEndId": "<string>",
"matchedInvoicesSum": 123,
"matchingStatus": "NOT_MATCHED"
},
"matchedAmount": 123,
"matchType": "MANUAL",
"matchConfidence": "HIGH",
"matchedBy": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"email": "<string>",
"name": "<string>",
"authId": "<string>",
"role": "<string>",
"hasPushNotification": true
},
"notes": "<string>",
"metadata": {},
"matchedAt": "2023-11-07T05:31:56Z"
}
],
"manuallyMarkedPaid": true,
"manuallyMarkedPaidAt": "<string>",
"manuallyMarkedPaidBy": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"email": "<string>",
"name": "<string>",
"authId": "<string>",
"role": "<string>",
"hasPushNotification": true
},
"matchedTransactionsSum": 123
}
],
"meta": {
"page": 123,
"take": 123,
"itemCount": 123,
"pageCount": 123,
"hasPreviousPage": true,
"hasNextPage": true
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The search term to look for in the invoice list.
Filter invoices by status.
Filter invoices by their recipient ids.
Filter invoices dates from
Filter invoices dates to
Filter invoices due date from
Filter invoices due date to
Filter invoices paid date from (when they were paid)
Filter invoices paid date to (when they were paid)
Filter invoices skonto date from
Filter invoices skonto date to
Filter invoices by type (invoice, credit note).
Specify the field you want to order by.
Choose between ascending and descending order.
Choose between ascending and descending order.
ASC
, DESC
Specify the number of the page you want to retrieve.
x >= 1
Specify the number of items you want to retrieve per page.
1 <= x <= 100
The response is of type object
.