curl --request GET \
--url http://localhost:3001/v1/invoice \
--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",
"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>",
"skontoDate": "<string>",
"skontoAmount": 123,
"skontoRate": 123,
"totalAmount": 123,
"currency": "EUR",
"type": "INVOICE",
"paymentTerms": "<string>",
"notes": "<string>",
"shouldCreateTransaction": true,
"alreadyPaid": false,
"alreadyPaidDate": "<string>",
"archived": false,
"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>",
"featureFlags": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"featureName": "<string>",
"isEnabled": true
}
]
},
"status": "NEW",
"debitor": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"iban": "<string>",
"bic": "<string>",
"countryCode": "<string>",
"address": "<string>"
},
"export": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"invoiceCount": 123
},
"splits": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"partialAmount": 123,
"taxRate": 123,
"notes": "<string>",
"costCenter": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"code": "<string>",
"name": "<string>",
"type": "<string>"
},
"costCenter2": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"code": "<string>",
"name": "<string>",
"type": "<string>"
},
"ledgerAccount": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"accountNumber": "<string>",
"name": "<string>"
}
}
],
"lineItems": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"productCode": 123,
"title": "<string>",
"description": "<string>",
"quantity": 123,
"unit": 123,
"unitPrice": 123,
"totalPrice": 123,
"discount": 123,
"taxRate": 123,
"taxAmount": 123
}
]
}
],
"meta": {
"page": 123,
"take": 123,
"itemCount": 123,
"pageCount": 123,
"hasPreviousPage": true,
"hasNextPage": true
}
}
Get a paginated list of invoices.
curl --request GET \
--url http://localhost:3001/v1/invoice \
--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",
"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>",
"skontoDate": "<string>",
"skontoAmount": 123,
"skontoRate": 123,
"totalAmount": 123,
"currency": "EUR",
"type": "INVOICE",
"paymentTerms": "<string>",
"notes": "<string>",
"shouldCreateTransaction": true,
"alreadyPaid": false,
"alreadyPaidDate": "<string>",
"archived": false,
"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>",
"featureFlags": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"featureName": "<string>",
"isEnabled": true
}
]
},
"status": "NEW",
"debitor": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"iban": "<string>",
"bic": "<string>",
"countryCode": "<string>",
"address": "<string>"
},
"export": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"invoiceCount": 123
},
"splits": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"partialAmount": 123,
"taxRate": 123,
"notes": "<string>",
"costCenter": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"code": "<string>",
"name": "<string>",
"type": "<string>"
},
"costCenter2": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"code": "<string>",
"name": "<string>",
"type": "<string>"
},
"ledgerAccount": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"accountNumber": "<string>",
"name": "<string>"
}
}
],
"lineItems": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"productCode": 123,
"title": "<string>",
"description": "<string>",
"quantity": 123,
"unit": 123,
"unitPrice": 123,
"totalPrice": 123,
"discount": 123,
"taxRate": 123,
"taxAmount": 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 skonto date from
Filter invoices skonto date to
Filter invoices by their cost center 1 ids.
Filter invoices by their cost center 2 ids.
Filter invoices by their ledger accounts ids.
Filter invoices by their approval requester (user).
Filter invoices by their current approvers (user).
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
.