Invoices
List invoices
Returns a paginated list of invoices for your company, optionally filtered by status and customer.
query Parameters
pagePage number (1-indexed)
limitNumber of items per page
searchFree-text search (invoice number, description)
statusFilter invoices by status
customerIdFilter invoices for a specific customer
List invoices › Responses
Paginated list of invoices
Invoices on this page (line items omitted; GET one invoice for lines)
totalTotal invoices matching the query
pageCurrent page (1-indexed)
limitItems per page
totalPagesTotal pages
Create a draft invoice
Creates a draft invoice. The invoice number is allocated at booking time (when sent), so a draft has no number yet.
Create a draft invoice › Request Body
customerIdCustomer ID this invoice is for. Required — every invoice must reference a customer (this mirrors the gated app, which also requires a customer).
dateInvoice date (ISO date, YYYY-MM-DD)
Invoice lines
customerDepartmentIdCustomer department ID (for EAN-based e-invoicing and address override)
customerContactIdCustomer contact ID (invoice recipient)
dueDateDue date for payment (ISO date). Derived from payment terms when omitted.
currencyCurrency code (ISO 4217). Defaults to the company default currency.
paymentTermsPayment terms in days
referenceReference / PO number ("PO-nr.")
ourReferenceOur reference ("Vores ref.")
descriptionOptional description of the invoice
notesAdditional notes or comments
Create a draft invoice › Responses
Invoice created successfully
idInvoice ID
statusInvoice status
dateInvoice date (ISO date)
currencyCurrency code (ISO 4217)
subtotalSubtotal before VAT (decimal string)
vatVAT amount (decimal string)
amountTotal amount including VAT (decimal string)
Invoice lines
createdAtCreation timestamp (ISO)
updatedAtLast update timestamp (ISO)
numberInvoice number. Null while the invoice is still a draft (allocated at booking).
dueDateDue date (ISO date)
customerIdCustomer ID
referenceReference / PO number
ourReferenceOur reference ("Vores ref.")
notesAdditional notes
Get an invoice by ID
Retrieves a single invoice by its unique identifier. Returns 404 when the
invoice does not exist in your company. For the rendered document, use the
PDF endpoint.
Required Scope
invoices-read
path Parameters
idInvoice ID
Get an invoice by ID › Responses
The invoice
idInvoice ID
statusInvoice status
dateInvoice date (ISO date)
currencyCurrency code (ISO 4217)
subtotalSubtotal before VAT (decimal string)
vatVAT amount (decimal string)
amountTotal amount including VAT (decimal string)
Invoice lines
createdAtCreation timestamp (ISO)
updatedAtLast update timestamp (ISO)
numberInvoice number. Null while the invoice is still a draft (allocated at booking).
dueDateDue date (ISO date)
customerIdCustomer ID
referenceReference / PO number
ourReferenceOur reference ("Vores ref.")
notesAdditional notes
Get the delivery status of an invoice
Returns an aggregate send summary plus a per-attempt delivery log for the invoice.
path Parameters
idInvoice ID
Get the delivery status of an invoice › Responses
Delivery status
Aggregate send summary
Per-attempt delivery log entries
Download the invoice PDF
Streams the rendered invoice PDF. Pass draft=true to render a draft watermark version (generated on the fly).
path Parameters
idInvoice ID
query Parameters
draftRender a draft watermark version
Download the invoice PDF › Responses
Bad Request
statusCodetimestamppathmessageSend an invoice to the customer
Sends the invoice over the chosen delivery channel (Email, Sproom e-invoicing, or Manual). Sending books the invoice and allocates its number.
path Parameters
idInvoice ID
Send an invoice to the customer › Request Body
deliveryTypeDelivery channel
overrideEmailOverride recipient email for this send only
overrideEanNumberOverride EAN number for this send only
updateCustomerRecordPersist the override email / EAN onto the customer record
documentTemplateIdOverride document template for PDF generation
Send an invoice to the customer › Responses
Invoice send accepted
successWhether the send was accepted
deliveryTypeThe delivery channel the document was sent through
sproomDocumentIdSproom document ID when sent via e-invoicing