Update an invoice
Update an invoice
Only invoices in draft or earlier status can be updated.
Path parameters
Request body
Optional description of the resource. Maximum 1024 characters.
Set of key-value pairs. Metadata can be used to store additional information about a resource.
Response
The request has succeeded.
A unique identifier for the resource.
Optional description of the resource. Maximum 1024 characters.
Set of key-value pairs. Metadata can be used to store additional information about a resource.
Timestamp of when the resource was created.
Timestamp of when the resource was last updated.
Timestamp of when the resource was permanently deleted.
InvoiceType represents the type of invoice.
The type of invoice determines the purpose of the invoice and how it should be handled.
InvoiceNumber is a unique identifier for the invoice, generated by the invoicing app.
The uniqueness depends on a lot of factors:
- app setting (unique per app or unique per customer)
- multiple app scenarios (multiple apps generating invoices with the same prefix)
Three-letter ISO4217 currency code. Custom three-letter currency codes are also supported for convenience.
InvoiceStatus describes the status of an invoice.
The time the invoice was issued.
Depending on the status of the invoice this can mean multiple things:
- draft, gathering: The time the invoice will be issued based on the workflow settings.
- issued: The time the invoice was issued.
The time until the invoice is in draft status.
On draft invoice creation it is calculated from the workflow settings.
If manual approval is required, the draftUntil time is set.
The time when the quantity snapshots on the invoice lines were taken.
The time when the invoice will be/has been collected.
Due time of the fulfillment of the invoice (if available).
The time the invoice was voided.
If the invoice was voided, this field will be set to the time the invoice was voided.
The time the invoice was sent to customer.