These docs are for v1.0. Click to read the latest docs for v2.0.
Added

Customer & Supplier Invoices — E-invoicing flow field and flow_id filter

We can now retrieve and filter invoices by their associated e-invoicing flow, with the introduction of the e_invoicing.flow field and the flow_id filter.

New field: e_invoicing.flow

For invoices processed through e-invoicing, the e_invoicing object now includes a flow field referencing the AFNOR/PDP flow associated with the invoice. flow.id is a UUID identifying the associated flow.

"e_invoicing": {
  "status": "accepted",
  "reason": null,
  "flow": {
    "id": "01960000-0000-0000-0000-000000000000"
  }
}

flow is null when no flow is associated with the invoice.


New filter: flow_id

You can now filter invoices by their associated flow UUID using the flow_id filter field on list endpoints:

GET /customer_invoices?filter=[{"field":"flow_id","operator":"eq","value":"01960000-0000-0000-0000-000000000000"}]
GET /supplier_invoices?filter=[{"field":"flow_id","operator":"eq","value":"01960000-0000-0000-0000-000000000000"}]

Supported operators: eq, not_eq, in, not_in.


Affected endpoints

Customer invoices

Supplier invoices