Update proforma
Updates the proforma through a full PUT contract. Update uses the same fields, validation rules, and defaults as the create flow. Omitted fields are not copied from the previously stored document; the backend resolves them exactly like in create.
Authorizations
Body
- Option 1
- Option 2
Payload used to update a proforma. Update uses the same fields, validation rules, and defaults as the create flow. You must send either clientId or the client object. Omitted fields are not copied from the current proforma; the backend resolves them exactly like in the create flow.
Proforma line items. This field stays required on update.
1 - 100 elementsPayload for a single proforma line item. Three modes are supported: a manual item, priceListItemId + quantity, or priceListItemId with sparse override fields. quantity is always required. If you omit priceListItemId, you must also send name, unitPrice, and vatRate. unitId is optional; when you omit it for a manual item, the backend defaults to unit 1 (piece / Unit::Piece). If you send priceListItemId, the backend can hydrate the name, unit, unit price, and VAT rate from the price list item, and the payload then acts only as a sparse override. Per-item uuid is not part of the request contract; if you send it, the backend ignores it. warehouseAllocations are not supported for proformas.
- Option 1
- Option 2
- Option 3
- Option 4
Delivery method ID from the delivery method reference table. Precedence is payload → client default → company document settings.
1
Payment method ID from the payment method reference table. Precedence is payload → client default → company document settings.
1
Currency ID from the currency reference table. Precedence is payload → client default → company document settings.
1
Language ID from the language reference table. Precedence is payload → client default → company document settings.
1
QR type ID from the QR type reference table. If omitted, the company document settings value is used.
1
Response
Proforma updated.
Proforma.
Delivery method ID from the delivery method reference table.
1
Payment method ID from the payment method reference table.
1
Currency ID from the currency reference table.
1
Language ID from the language reference table.
1
QR type ID from the QR type reference table.
1

