customer_invoice.e_invoicing_status_updated

Fired when the e-invoicing status of a customer invoice changes.


ℹ️

This event requires one of the following scopes: customer_invoices:readonly, customer_invoices:all


Payload fields

FieldTypeDescription
idintegerInternal ID of the customer invoice.
e_invoicing.statusstringThe new PDP status — see values below.

e_invoicing.status values:

ValueMeaning
submittedInvoice submitted to the PDP network.
approvedInvoice accepted by the recipient's PDP.
acceptedInvoice accepted by the recipient.
rejectedInvoice rejected by the recipient's PDP.
refusedInvoice refused by the recipient.
sentInvoice forwarded by the PDP.
collectedPayment fully collected.
partially_collectedPayment partially collected.
in_disputeInvoice is under dispute.

data.previous_attributes

Always present — contains the previous value of e_invoicing.status before the change.


Example payload

{
  "id": 987654,
  "event": "customer_invoice.e_invoicing_status_updated",
  "retry_count": 0,
  "created": 1657875952369,
  "data": {
    "context": {
      "company_id": "abc-123",
      "firm_id": "firm-456"
    },
    "object": {
      "id": 42,
      "e_invoicing": { "status": "accepted" }
    },
    "previous_attributes": {
      "e_invoicing": { "status": "submitted" }
    }
  }
}