Skip to Content
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
/orgs/{organizationId}/invoices

Creates a new invoice with the provided data.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

Request Body

application/json
  1. body
customerId*string
currency?string
invoiceDate?string

Defaults to the moment the request is handled.

Formatdate-time
dueDate?string

Defaults to 7 days after the moment the request is handled.

Formatdate-time
status?string
Default"DRAFT"
Value in"DRAFT""BOOKED"
paymentStatus?string
Default"UNPAID"
Value in"UNPAID""PARTIALLY_PAID""PENDING""PAID"
mandateId?string|null

Response Body

OK

application/json
  1. response
Example Request
curl -X POST 'https://api.tillor.eu/orgs//invoices' \  -H 'Content-Type: application/json' \  -d '{  "customerId": "string"}'
Example Response
null