Invoices

Replace Invoice

PUT
/orgs/{organizationId}/invoices/{id}

Replaces an existing invoice with new data. For lines whose product defines metadata.invoiceBundle, bundle child rows are regenerated server-side only when that anchor's product, quantity, or (Extend occupation period) occupation changed versus the stored invoice; otherwise the submitted bundle children are preserved.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

id*string

Request Body

application/json
  1. body
note*string|null
items*array<>

Response Body

OK

application/json
  1. response
curl -X PUT 'https://api.tillor.eu/orgs/string/invoices/string' \  -H 'Content-Type: application/json' \  -d '{  "note": "string",  "items": [    {      "description": "string",      "quantity": 0,      "taxPercentage": 0,      "amountPerUnitWithTax": 0    }  ]}'
null