Update an existing invoice using PUT. Payments, refunds and writeoffs are preserved.
Update Rules:
Preserved Data:
Optional document upload: send multipart with field file plus optional document_type, upload_source,
metadata, tags. JSON-only requests remain supported when no file is provided.
Partner-level JWT token (unscoped). Token payload includes partner_id. Business access is validated via partner ownership. Format: Bearer <your-jwt-token>
Use this for: Multi-business operations where the business_id is specified in the URL and partner has access to multiple businesses.
Business UUID provided by Thred (unique identifier for the business)
A UUID string identifying this invoice.
Invoice update serializer that preserves payments, refunds, and writeoffs Only allows updates to safe fields that don't break accounting integrity
Invoice number for display and reference
1 - 100Type of invoice: invoice or receipt
invoice - Invoicereceipt - Receiptinvoice, receipt Invoice description or memo
External system identifier
When payment is due (ISO 8601 format)
Optional document upload
Customer ID to assign invoice to
Array of line items for this invoice
Additional invoice-level discount in cents
Total additional sales taxes in cents
Tips amount in cents
Invoice serializer for API responses All monetary amounts are returned in cents
Resource type identifier
Unique invoice identifier
Business this invoice belongs to
Invoice status in uppercase format
DRAFT, SENT, PAID, PARTIALLY_PAID, OVERDUE, CANCELLED, REFUNDED "SENT"
When the invoice was sent to customer
When payment is due (ISO timestamp)
When the invoice was fully paid
When the invoice was voided (always null - we use cancelled status)
True if invoice is past due date and has outstanding balance
false
Invoice number for display and reference
100Type of invoice: invoice or receipt
invoice - Invoicereceipt - Receiptinvoice, receipt ISO 4217 currency code (e.g., EUR, GBP, USD)
3Customer information
Array of invoice line items
Subtotal amount in cents before taxes
Additional invoice-level discount in cents
Additional sales taxes array
Total additional sales taxes in cents
Tips amount in cents
Tips account information
Total invoice amount in cents including taxes
Outstanding balance in cents
Array of payment allocations
Array of customer credit note allocations
Array of refund allocations
Array of write-offs on this invoice
Latest invoice document file with presigned URL
When the invoice was imported/created
When the invoice was last updated
External system identifier
Invoice description or memo