v1
latestOpenAPI 3.0.32026-07-26362271803.3 KBPartial Update Invoice
Performs a partial update of an existing accounting invoice using PATCH semantics.
This endpoint allows selective modification of invoice fields without requiring
a complete invoice replacement. You can update specific aspects of the invoice while
leaving other fields unchanged.
**Updatable Fields:**
- Invoice metadata (dates, terms, descriptions, client, entity, currency)
- Line items (amounts, accounts, descriptions, departments, products)
- Payment terms and due dates
- Tax calculations and allocations
- Custom fields and tags
- Contract and purchase order associations
- Exchange rates and currency information
Path parameters
Request body
Withholding context for the invoice's entity.
estimated_withholding_amount covers only the remaining amount due (null once fully paid); withheld_to_date is the signed sum of posted withholding, so actuals replace the estimate as receipts come in. Certificate-based schemes estimate from the entity certificate's rate (falling back to the scheme default); rules-based schemes sum each line's selected rate over the line amount, scaled by the remaining-due proportion.
ID of the transaction in Anrok (set when transaction is created)
Discount amount for the invoice
Discount amount applied based on payment term early payment discount
True for invoices imported via opening balance migration (no finalization JE).
Accounts Receivable account for this invoice. Populated for single-AR and migrated invoices. NULL for multi-AR invoices (aging uses ChartTransactions instead).
Response
Withholding context for the invoice's entity.
estimated_withholding_amount covers only the remaining amount due (null once fully paid); withheld_to_date is the signed sum of posted withholding, so actuals replace the estimate as receipts come in. Certificate-based schemes estimate from the entity certificate's rate (falling back to the scheme default); rules-based schemes sum each line's selected rate over the line amount, scaled by the remaining-due proportion.
ID of the transaction in Anrok (set when transaction is created)
Discount amount for the invoice
Discount amount applied based on payment term early payment discount
True for invoices imported via opening balance migration (no finalization JE).
Accounts Receivable account for this invoice. Populated for single-AR and migrated invoices. NULL for multi-AR invoices (aging uses ChartTransactions instead).