Update invoice
API Refs
- Staging: Update invoice
This endpoint updates an existing invoice. Only provide the fields you wish to change.
URI Parameters
Name | Type | Description | Required |
---|---|---|---|
invoiceId | number | The ID of the invoice to update | yes |
Request body
The request body uses the same fields as the Create invoice
endpoint, but all fields are optional.
Response
A successful request returns a 200 OK
status code with no response body.
Example
{
"grossPremium": 1250.00,
"memo": "Updated annual premium"
}
ImportantYou can only update an invoice if it has not been paid. Once a payment is applied, the invoice is locked.
Updated 1 day ago