Invoices
Replace Invoice
Acceso
Miembro de la organización con este permiso:
invoices:write
Una clave API con scopes también necesita el permiso entre sus scopes.
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.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringapplication/json- body
note*string|nullitems*array<>confirmLineRemoval?booleanOK
application/json- response
curl -X PUT 'https://api.tillor.eu/orgs//invoices/string' \ -H 'Content-Type: application/json' \ -d '{ "note": "string", "items": [ { "description": "string", "quantity": 0, "taxPercentage": 0, "amountPerUnitWithTax": 0 } ]}'Example Response
null