Updates invoice details including line items, customer information, and amounts. Only invoices in DRAFT status can be updated. Once an invoice is sent, it becomes read-only.
Unique identifier (UUID) of the invoice to update
"a3f1d7d0-ef1d-4b2e-aad2-123456789abc"
Unique identifier (UUID) of the customer this invoice is billed to
"c5f3e9f2-gh3f-6d4g-ccf4-345678901cde"
Optional reference to a quote that was converted to this invoice. Only present if the invoice was created from a quote.
"d6g4f0g3-hi4g-7e5h-ddg5-456789012def"
Optional due date by which payment should be received. If not set, payment terms may be defined elsewhere.
"2024-02-15T00:00:00.000Z"
VAT (Value Added Tax) rate applied to the invoice, expressed as a percentage (e.g., 20 for 20% VAT).
0 <= x <= 10020
ISO 4217 currency code used for all amounts in this invoice. Defaults to EUR if not specified.
EUR, USD, GBP, CAD, AUD "EUR"
Total amount excluding VAT (HT - Hors Taxes). Sum of all line item totals before tax.
x >= 0100
Total VAT amount (TVA - Taxe sur la Valeur Ajoutée) calculated on the net total.
x >= 020
Total amount including VAT (TTC - Toutes Taxes Comprises). This is the final amount the customer must pay.
x >= 0120
Whether the invoice should be automatically sent to the customer via email when finalized. If true, an email will be sent when the invoice status changes to SENT.
false
List of line items to include in the invoice. Each line item must have a description, quantity, and unit price. Replaces all existing line items if provided.
[
{
"description": "Meeting Room - January 15, 2024",
"unitPrice": 25,
"quantity": 1
}
]Invoice updated successfully with new details
Unique identifier (UUID) of the invoice
"a3f1d7d0-ef1d-4b2e-aad2-123456789abc"
Unique identifier of the tenant (organization) that owns this invoice
"b4e2d8e1-fg2e-5c3f-bbe3-234567890bcd"
Unique identifier of the customer this invoice is billed to
"c5f3e9f2-gh3f-6d4g-ccf4-345678901cde"
Current status of the invoice. DRAFT: being prepared, SENT: sent to customer, PAID: payment received, OVERDUE: past due date, CANCELLED: cancelled.
draft, sent, paid, overdue, cancelled "draft"
Date and time when the invoice was issued to the customer. Format: ISO 8601 date-time.
"2024-01-15T10:00:00.000Z"
Total amount excluding VAT (HT - Hors Taxes). Sum of all line item totals before tax.
x >= 0100
VAT (Value Added Tax) rate applied to the invoice, expressed as a percentage (e.g., 20 for 20% VAT).
0 <= x <= 10020
Total VAT amount (TVA - Taxe sur la Valeur Ajoutée) calculated on the net total.
x >= 020
Total amount including VAT (TTC - Toutes Taxes Comprises). This is the final amount the customer must pay.
x >= 0120
ISO 4217 currency code used for all amounts in this invoice. Defaults to EUR if not specified.
EUR, USD, GBP, CAD, AUD "EUR"
Whether the invoice should be automatically sent to the customer via email when finalized. If true, an email will be sent when the invoice status changes to SENT.
true
Version number of the PDF document. Increments each time the invoice PDF is regenerated, allowing tracking of document versions.
x >= 11
Date and time when the invoice was first created in the system. Format: ISO 8601 date-time.
"2024-01-15T09:00:00.000Z"
Date and time when the invoice was last modified. Format: ISO 8601 date-time.
"2024-01-15T10:30:00.000Z"
List of line items included in this invoice. Each line item represents a product, service, or booking being invoiced.
[
{
"id": "item_1",
"type": "booking",
"description": "Meeting Room - January 15, 2024",
"unitPrice": 25,
"quantity": 1,
"total": 25
}
]Optional reference to a quote that was converted to this invoice. Only present if the invoice was created from a quote.
"d6g4f0g3-hi4g-7e5h-ddg5-456789012def"
Optional due date by which payment should be received. If not set, payment terms may be defined elsewhere.
"2024-02-15T00:00:00.000Z"
Date and time when payment was received. Only present for paid invoices.
"2024-01-20T14:30:00.000Z"
Payment method used for this invoice. Only present for paid invoices. STRIPE methods use Stripe payment processing, SEPA and BANK_TRANSFER are manual methods.
stripe_card, stripe_google_pay, stripe_apple_pay, sepa, bank_transfer "stripe_card"
Optional transaction reference or payment ID from the payment processor. Used for reconciliation and tracking.
"ch_1234567890abcdef"
URL to download the generated PDF version of the invoice. Only available after the invoice has been finalized and PDF generation is complete.
"https://storage.example.com/invoices/inv_123456.pdf"