InvoiceUpdate event fires whenever a field on an existing invoice is changed — including edits to line items, dates, discounts, or contact details. Use this event to keep external accounting or CRM systems in sync with the latest invoice state without polling the API.
Payload
| Field | Type | Description |
|---|---|---|
_id | string | Unique identifier for the invoice |
status | string | Current invoice status after the update (e.g., draft, sent) |
liveMode | boolean | true when the event originates from a live sub-account; false in test mode |
amountPaid | number | Total amount already paid against this invoice |
altId | string | Sub-account (location) ID associated with the invoice |
altType | string | Resource type for altId — always "location" |
name | string | Internal name assigned to the invoice |
invoiceNumber | string | Human-readable invoice number |
currency | string | ISO 4217 currency code (e.g., USD) |
issueDate | string | Date the invoice was issued (YYYY-MM-DD) |
dueDate | string | Payment due date (YYYY-MM-DD) |
discount | object | Discount applied to the invoice (type and value) |
invoiceItems | array | Updated line items on the invoice, each containing name, quantity, amount, currency, and taxes |
total | number | Updated total invoice value |
title | string | Display title shown on the invoice document (e.g., "INVOICE") |
amountDue | number | Updated remaining balance owed on the invoice |
createdAt | string | ISO 8601 timestamp when the invoice was originally created |
updatedAt | string | ISO 8601 timestamp of this update |
totalSummary | object | Summary object containing updated subTotal and discount amounts |
Example payload
Related
- Invoice Create — fires when a new invoice is first created
- Invoice Sent — fires when an invoice is delivered to the contact
- Invoices API — create, retrieve, and manage invoices programmatically
.png?fit=max&auto=format&n=EQK5eX9kTD8NzWwA&q=85&s=878008bf159fcc4964d0c0d508b6e400)