Invoices
Create Invoice
Toegang
Lid van de organisatie met dit recht:
invoices:write
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
POST
Creates a new invoice with the provided data.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
customerId*stringcurrency?stringinvoiceDate?stringDefaults to the moment the request is handled.
Format
date-timedueDate?stringDefaults to 7 days after the moment the request is handled.
Format
date-timestatus?stringDefault
"DRAFT"Value in
"DRAFT""BOOKED"paymentStatus?stringDefault
"UNPAID"Value in
"UNPAID""PARTIALLY_PAID""PENDING""PAID"mandateId?string|nullOK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//invoices' \ -H 'Content-Type: application/json' \ -d '{ "customerId": "string"}'Example Response
nullList Invoices GET
Lists all invoices in the system with pagination support.
Invoice dashboard stats GET
Returns total invoice count, open and overdue counts (unpaid or partially paid booked invoices, credit notes excluded), and the sum of outstanding amounts for open booked invoices and credit notes in the organization's currency.