AR invoice notification payloads
When you subscribe to a BILL event and the event triggers, BILL sends a notification to your provided notificationUrl. See /v3/invoices in the API reference for more information about the request and response fields.
Sample invoice.created payload
invoice.created payloadIn this sample unescaped JSON payload, the details of a created invoice are available.
{
"metadata": {
"eventId": "625947c4-8e6b-48f0-ae72-ea9c9375ec27",
"subscriptionId": "f6d06930-e3e2-4509-be37-4dbda29efc6i",
"organizationId": "00802DEVKGROHKDIY4zyx",
"eventType": "invoice.created",
"version": 1
},
"invoice": {
"id": "00e02GCBEKKQMYUDas7j",
"customerId": "0cu02XBWMAGCTDG12pnt",
"archived": false,
"invoiceNumber": "202601",
"invoiceDate": "2026-12-20",
"dueDate": "2026-12-20",
"totalAmount": 120.00,
"dueAmount": 120.00,
"createdTime": "2026-12-15T23:15:23.127+00:00",
"updatedTime": "2026-12-15T23:15:23.127+00:00",
"createdBy": "00602NNWYXSZQYLTa41g",
"status": "OPEN",
"scheduledAmount": 0.00,
"creditAmount": 0.00,
"salesTaxTotal": 0.00,
"salesTaxPercentage": 0
}
}Sample invoice.updated payload
invoice.updated payloadIn this sample unescaped JSON payload, the details of an updated invoice are available.
{
"metadata": {
"eventId": "625947c4-8e6b-48f0-ae72-ea9c9375ec27",
"subscriptionId": "f6d06930-e3e2-4509-be37-4dbda29efc6i",
"organizationId": "00802DEVKGROHKDIY4zyx",
"eventType": "invoice.updated",
"version": 1
},
"invoice": {
"id": "00e02GCBEKKQMYUDas7j",
"customerId": "0cu02XBWMAGCTDG12pnt",
"archived": false,
"invoiceNumber": "202601",
"invoiceDate": "2026-12-20",
"dueDate": "2026-12-20",
"totalAmount": 120.00,
"dueAmount": 0.00,
"createdTime": "2026-12-15T23:15:23.127+00:00",
"updatedTime": "2026-12-20T23:15:23.127+00:00",
"createdBy": "00602NNWYXSZQYLTa41g",
"status": "PAID_IN_FULL",
"scheduledAmount": 0.00,
"creditAmount": 0.00,
"salesTaxTotal": 0.00,
"salesTaxPercentage": 0
}
}Fields that trigger invoice.updated notifications
invoice.updated notificationsWhen changes are made to a set of fields in an invoice, the invoice.updated event notification is triggered.
| Field | Description |
|---|---|
totalAmount | Invoice total amount |
status | Invoice status |
invoice.invoiceNumber | User-generated invoice number. This value can be your chosen number scheme. |
Sample invoice.archived payload
invoice.archived payloadIn this sample unescaped JSON payload, the details of an archived invoice are available. The archived field is set as true.
{
"metadata": {
"eventId": "625947c4-8e6b-48f0-ae72-ea9c9375ec27",
"subscriptionId": "f6d06930-e3e2-4509-be37-4dbda29efc6i",
"organizationId": "00802DEVKGROHKDIY4zyx",
"eventType": "invoice.archived",
"version": 1
},
"invoice": {
"id": "00e02GCBEKKQMYUDas7j",
"customerId": "0cu02XBWMAGCTDG12pnt",
"archived": true,
"invoiceNumber": "202601",
"invoiceDate": "2026-12-20",
"dueDate": "2026-12-20",
"totalAmount": 120.00,
"dueAmount": 120.00,
"createdTime": "2026-12-15T23:15:23.127+00:00",
"updatedTime": "2026-12-16T23:15:23.127+00:00",
"createdBy": "00602NNWYXSZQYLTa41g",
"status": "OPEN",
"scheduledAmount": 0.00,
"creditAmount": 0.00,
"salesTaxTotal": 0.00,
"salesTaxPercentage": 0
}
}Sample invoice.restored payload
invoice.restored payloadIn this sample unescaped JSON payload, the details of a restored invoice are available. The archived field is set as false.
{
"metadata": {
"eventId": "625947c4-8e6b-48f0-ae72-ea9c9375ec27",
"subscriptionId": "f6d06930-e3e2-4509-be37-4dbda29efc6i",
"organizationId": "00802DEVKGROHKDIY4zyx",
"eventType": "invoice.restored",
"version": 1
},
"invoice": {
"id": "00e02GCBEKKQMYUDas7j",
"customerId": "0cu02XBWMAGCTDG12pnt",
"archived": false,
"invoiceNumber": "202601",
"invoiceDate": "2026-12-20",
"dueDate": "2026-12-20",
"totalAmount": 120.00,
"dueAmount": 120.00,
"createdTime": "2026-12-15T23:15:23.127+00:00",
"updatedTime": "2026-12-17T23:15:23.127+00:00",
"createdBy": "00602NNWYXSZQYLTa41g",
"status": "OPEN",
"scheduledAmount": 0.00,
"creditAmount": 0.00,
"salesTaxTotal": 0.00,
"salesTaxPercentage": 0
}
}Updated 9 days ago
