InvoicePaid event fires when the total amount due on an invoice reaches zero, indicating full payment has been received. Use this event to trigger service provisioning, send thank-you emails, update revenue records, or unlock gated content for the paying contact.
Payload
| Field | Type | Description |
|---|---|---|
_id | string | Unique identifier for the invoice |
status | string | Invoice status at time of event — will be "paid" |
liveMode | boolean | true when the event originates from a live sub-account; false in test mode |
amountPaid | number | Total amount paid — equals the invoice total on full payment |
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 |
businessDetails | object | Sender business information (name, address, phone, website, logo URL) |
invoiceNumber | string | Human-readable invoice number |
currency | string | ISO 4217 currency code (e.g., USD) |
contactDetails | object | Recipient contact information (id, email, name, company name) |
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 | Line items on the invoice, each containing name, quantity, amount, currency, and taxes |
total | number | Total invoice value |
title | string | Display title shown on the invoice document (e.g., "INVOICE") |
amountDue | number | Remaining balance owed — will be 0 on full payment |
createdAt | string | ISO 8601 timestamp when the invoice was created |
updatedAt | string | ISO 8601 timestamp of the most recent update |
totalSummary | object | Summary object containing subTotal and discount amounts |
Example payload
Related
- Invoice Partially Paid — fires when a partial payment is recorded
- Invoice Sent — fires when the 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)