List Invoice summaries
Changed onList invoices with only the fields the summary table renders. balance and balanceVersion are returned only for FINAL and SENT invoices that already have a ledger balance. An absent balance means it is unavailable, never that the invoice is settled.
Request
- Base URLhttps://sandbox.sequencehq.com/api
- URLhttps://sandbox.sequencehq.com/api/invoices/list-summary
- Authnone declared. Required headers: Authorization
Query parameters
before
after
limit
sortOrder
sortBy
invoiceStatus
invoicePaymentStatus
customerId
billingScheduleId
dueBefore
dueAfter
sentBefore
sentAfter
invoiceBefore
invoiceAfter
excludeZeroQuantity
invoiceCurrency
search
invoiceNumber
netTotal
excludeInvoiceStatus
excludeInvoicePaymentStatus
excludeCustomerId
excludeBillingScheduleId
excludeInvoiceCurrency
excludeInvoiceNumber
excludeNetTotal
excludeSearch
Headers
Your API credentials. Eg. Basic {credentials}.
Use this header to select an API version
Response
OK
Example response
{
"items": [
{
"id": "ba37a392-7054-4dae-ab37-6fee9e23fe06",
"invoiceNumber": "INV2",
"status": "SENT",
"paymentStatus": "UNPAID",
"currency": "GBP",
"grossTotal": "10",
"balance": "10",
"balanceVersion": 0,
"customerId": "b3c0cf23-6717-4cdc-b190-acf8aa6ccd8a",
"customerLegalCompanyName": "Facebook",
"billingScheduleId": "fe2fcd0b-4c53-45c7-b2ae-b6c1a7d21e95",
"billingPeriod": {
"start": "2022-10-01",
"endInclusive": "2022-10-30"
},
"dueDate": "2022-11-05",
"dueDateSource": "CALCULATED",
"dueDatePolicy": {
"paymentTermDays": 30,
"type": "PAYMENT_TERMS"
},
"dueDateStatus": "SET",
"accountingDate": "2022-10-05",
"links": [
{
"externalId": "ID",
"externalService": "Xero",
"syncTime": "2022-06-28T16:47:00Z",
"externalUrl": "https://invoicing.xero.com/view/85e52542-3e54-4f0d-872b-33bba11a0504"
}
]
}
],
"pagination": {
"after": "MDE4NDUyNjYtNmQ2NC03N2M4LTlhZGYtNDQ4N2Q5NGQxNDU3",
"before": "MDE4NDQyMWUtYTljYy03MTFiLWFmOTMtYmYwNTExZDRkODMz",
"totalResultSize": 10
}
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- info