Invoice Paid

Emitted when an invoice has been fully paid by the customer

Overview

The InvoicePaid event indicates that a customer has completed payment for an invoice, closing the accounts receivable.

Event Schema

Schema Definition

{
"eventId": "uuid",
"eventType": "InvoicePaid",
"timestamp": "2025-12-11T10:30:00Z",
"version": "1.0.0",
"data": {
"invoiceId": "string",
"invoiceNumber": "string",
"customerId": "string",
"totalAmount": "number",
"paidAmount": "number",
"paymentId": "string",
"paidAt": "timestamp",
"daysToPay": "number"
}
}

Example Payload

{
"eventId": "invpaid_xyz789",
"eventType": "InvoicePaid",
"timestamp": "2025-12-20T15:30:00Z",
"version": "1.0.0",
"data": {
"invoiceId": "inv_1234567890",
"invoiceNumber": "INV-2025-000123",
"customerId": "cus_johndoe",
"totalAmount": 6480.00,
"paidAmount": 6480.00,
"paymentId": "pay_1234567890",
"paidAt": "2025-12-20T15:30:00Z",
"daysToPay": 9
}
}

Downstream Actions

  • AR Service: Removes from outstanding balance, updates DSO metrics
  • Analytics: Updates cash collection metrics
  • Customer Service: Updates customer payment history
13 properties
eventIdstring<uuid>
required
eventTypestringconstant: InvoicePaid
required
timestampstring<date-time>
required
versionstring
required
Match pattern: ^\d+\.\d+\.\d+$
dataobject
required