Invoices
Update an invoice
Partial update following the design philosophy:
- Omitted JSON keys leave the corresponding entity fields untouched.
- Explicit JSON null clears the field (SQL NULL) where the column is nullable.
- Concrete values overwrite the entity field.
Non-nullable columns (payment_method, payment_condition, payment_due_at, vat_exigibility) reject explicit null with 422 parameter_invalid.
Fields NOT patchable through this endpoint: id, seq_number, status, customer_id, vehicle_id, worksheet_id, all totals, all timestamps except payment_due_at. Line items are not mutable via PATCH. Use POST /v1/invoices/{id}/issue to transition a draft.
patch/v1/invoices/{id}
Request
- Base URL: https://api.officina.it
- URL: https://api.officina.it/v1/invoices/{id}
- Auth: HTTP bearer
Request body
Response
Invoice updated.
Example response
{
"id": "4412e7b9-0c35-4a18-92d7-5b6ea1f38c04"
}Changes
No recorded changes to this operation across all 1 revision of this API.