Get an invoice summary
Changed onReturns aggregate invoice totals (count and gross total) grouped by currency for the invoices matching the supplied filters. Totals cover the whole matching set, so accurate figures can be retrieved in a single request without paginating.
Request
- Base URLhttps://sandbox.sequencehq.com/api
- URLhttps://sandbox.sequencehq.com/api/invoices/summary
- Authnone declared. Required headers: Authorization
Query parameters
Filter by invoice status. Options: IN_PROGRESS, DRAFT, FINAL, SENT, VOIDED
Filter by payment status. Options: UNPAID, PARTIALLY_PAID, PAID, UNCOLLECTIBLE
Filter by customer id.
Filter by billing schedule id.
Filter by due date before. Format: yyyy-MM-dd
Filter by due date after. Format: yyyy-MM-dd
Filter by sent date before. Format: yyyy-MM-dd
Filter by sent date after. Format: yyyy-MM-dd
Filter by invoice date before. Format: yyyy-MM-dd
Filter by invoice date after. Format: yyyy-MM-dd
Exclude invoices with zero quantity.
Get invoices for a specific currency (provide a comma-separated list)
Search invoices by invoice number (partial, case-insensitive match)
Filter by invoice number
Filter by net total amount
Headers
Your API credentials. Eg. Basic {credentials}.
Use this header to select an API version
Response
OK
Example response
{
"totalsByCurrency": [
{
"currency": "GBP",
"invoiceCount": 12,
"grossTotal": 15400
},
{
"currency": "USD",
"invoiceCount": 3,
"grossTotal": 980.5
}
]
}Changes
- warning
deleted the
headerrequest parameterSequence-Version - warning
deleted the
queryrequest parameterexcludeBillingScheduleId - warning
deleted the
queryrequest parameterexcludeCustomerId - warning
deleted the
queryrequest parameterexcludeInvoiceCurrency - warning
deleted the
queryrequest parameterexcludeInvoiceNumber - warning
deleted the
queryrequest parameterexcludeInvoicePaymentStatus - warning
deleted the
queryrequest parameterexcludeInvoiceStatus - warning
deleted the
queryrequest parameterexcludeNetTotal - warning
deleted the
queryrequest parameterexcludeSearch - info
added the new optional
headerrequest parametersequence-version
- warning
- warning
deleted the
headerrequest parametersequence-version - info
added the new optional
headerrequest parameterSequence-Version - info
added the new optional
queryrequest parameterexcludeBillingScheduleId - info
added the new optional
queryrequest parameterexcludeCustomerId - info
added the new optional
queryrequest parameterexcludeInvoiceCurrency - info
added the new optional
queryrequest parameterexcludeInvoiceNumber - info
added the new optional
queryrequest parameterexcludeInvoicePaymentStatus - info
added the new optional
queryrequest parameterexcludeInvoiceStatus - info
added the new optional
queryrequest parameterexcludeNetTotal - info
added the new optional
queryrequest parameterexcludeSearch
- warning