Invoices
Delete Invoice
Accès
Membre de l’organisation avec cette autorisation :
invoices:write
Une clé API avec des scopes doit aussi avoir l’autorisation dans ses scopes.
DELETE
Deletes an invoice by its ID.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringOK
application/json- response
curl -X DELETE 'https://api.tillor.eu/orgs//invoices/string'Example Response
nullGet Invoice GET
Gets an invoice by its ID with optional includes. Use include parameter to include relations like items, customer.
Replace Invoice PUT
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.