List invoices
Returns a collection with all invoices.
Request
- Base URLhttps://xentral.xentral.biz
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The following filter key values are available:
id (string): Invoice ID
invoice (string): Invoice Number
date (date): accepted format: Y-m-d, example 2024-10-15
status (string): created released sent canceled completed partialCancellation
customerName (string): first and last name of the Customer
customerNumber (string): Customer Number
country (string): Country Codes Alpha-2
projectId (string): Project ID
projectName (string): Project Name
projectAbbr (string): Project Abbreviation
paymentMethod (string): Payment Method
paymentStatus (string): pending paid partlyPaid canceled partialCancellation badDebt debited
debit (numeric): Debit, example: 10.50
balance (numeric): Balance, example: 10.50
currency (string): Currency ISO 4217 format, example EUR
shippingMethod (string): Shipping Method
amountNet (numeric): net amount of the Invoice, example: 10.50
salesOrder (string): Sales Order ID
updatedAt (string): format: date-time : Sales updatedat, example: 2022-09-13T12:41:18+02:00
[
{
"key": "date"
}
]Response
Operation completed successfully.
Example response
{
"data": [
{
"id": "17",
"number": "2022-400000",
"date": "2023-06-27T00:00:00+02:00",
"status": "sent",
"address": {
"name": "Maximilian S.",
"customerNumber": "10002",
"country": "DE"
},
"project": {
"id": "4",
"name": "Amazon FBA",
"abbreviation": "FBA"
},
"payment": {
"method": "Amazon pay",
"status": "paid",
"debit": {
"amount": "24.99",
"currency": "EUR"
},
"balance": {
"amount": "0.00",
"currency": "EUR"
}
},
"additionalFields": [
{
"key": "orderNumber",
"value": "2231654"
}
],
"tags": [
{
"id": "1337",
"name": "Active",
"color": "ff0000"
}
],
"dunningSettings": {
"level": "paymentReminder",
"date": "2022-08-10",
"comment": "This is a comment",
"sent": true
},
"updatedBy": {
"id": "1337"
},
"updatedAt": "2022-09-13T12:41:18+02:00"
}
],
"extra": {
"totalCount": 1,
"page": {
"number": 1,
"size": 10
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.