Skip to main content

Supported CDAR lifecycle statuses & flows​

France only

This page defines which French e-invoicing CDAR (CDV) lifecycle statuses and flows are supported in production, how they are triggered and delivered, and how they affect internal invoice states.

Platform roles follow the French e-invoicing convention:

  • PA-E (Plateforme Agréée Émettrice): The seller's platform.
  • PA-R (Plateforme Agréée Réceptrice): The buyer's platform.

Scope & routing prerequisites​

  • Supported document types: Commercial invoices (TypeCode = 380) exchanged over Peppol and the PPF. Other French reform types (389, 384, 386, 261, 262, 393, 396) are not supported.
  • Not yet supported: Credit notes (TypeCode = 381); and unsupported flows/actions including Chorus Pro / G2B flows (targeted for December release), self-billing payment notifications, and agent (mandataire) endorsements.
  • Counterparty SMP requirement: Outbound Peppol (PDP) CDARs are only transmitted if the counterparty's SMP registers the CDAR document type under the French regulated process; otherwise, transmission is skipped.
  • PPF routing requirement: Outbound PPF submissions (200, 212, and 213 issued by PA-E) require pdpEnabled to be active on the workspace. Statuses 210 and 213 issued by PA-R—along with their PPF feedback—are exempt from this requirement and are created and sent even when pdpEnabled is not active.

Lifecycle status support matrix​

Statuses are emitted automatically by Banqup during transmission/validation, submitted by your system via POST network/documents/spaces/connectors/afnor/v1/flows, or received inbound from counterparty platforms over Peppol AS4. Every successfully processed inbound CDAR logs a user event.

Supported lifecycle statuses​
Code & StatusDocument/UI stateAFNOR APIDirectionReason codesPPF Req.Scope
200 — Déposée (Submitted / Deposited)Outbound (PA-E): Auto-emitted upon Peppol transmission or non-compliant/email fallback. If received inbound (PA-R): Logs user event only (no document status change); outside standard PA-R flow and often indicates sender misuse or misrouting.POST /flows: Rejected (InvoiceLCAccess Denied). GET /flows: Raw CDAR file available.Outbound (PA-E → PPF) (Inbound accepted if sent)NON_TRANSMISE only (non-compliant / email buyer)Yes (PPF Flux 6).Transmission (PPF Flux 6; Peppol & non-compliant/email invoices).
202 — Reçue (Received)Outbound (PA-R): Emitted when purchase invoice is VALIDATED. Inbound (PA-E): Logs user event only.POST /flows: Rejected (InvoiceLCAccess Denied). GET /flows: Raw CDAR file available.Outbound & inbound Auto-emitted: PA-R → PA-E.NoneNo.Transmission (Peppol invoices).
203 — Mise à disposition (Made available)Outbound (PA-R): Auto-emitted immediately after 202. Inbound (PA-E): Logs user event only.POST /flows: Rejected (InvoiceLCAccess Denied). GET /flows: Raw CDAR file available.Outbound & inbound Auto-emitted: PA-R → PA-E (after 202).NoneNo.Transmission (Peppol invoices).
204 — Prise en charge (Taken over)Outbound (PA-R): Auto-emitted right before 205. AFNOR Purchase: Forwarded without document status change. Inbound (PA-E): Logs user event only.Purchase: Forwarded to PA-E (no status change). Sales: Rejected (AccessDenied). GET /flows: Raw CDAR file available.Outbound, inbound & AFNOR purchase PA-R → PA-E (auto before 205, or via AFNOR API).NoneNo.Processing (Peppol invoices).
205 — Approuvée (Approved)Outbound (PA-R): Emitted when purchase invoice is approved (APPROVE). Inbound (PA-E): Sets document status to APPROVED.Purchase: Triggers APPROVE. Sales: Rejected (AccessDenied). GET /flows: Raw CDAR file available.Outbound, inbound & AFNOR purchase PA-R → PA-E (on approval or via AFNOR API).NoneNo.Processing (Peppol invoices).
207 — En litige (In dispute)Outbound (PA-R): Emitted when purchase invoice is disputed (DISPUTE, non-suspend reason). Inbound (PA-E): Sets document status to DISPUTED.Purchase: Triggers DISPUTE. Sales: Rejected (AccessDenied). GET /flows: Raw CDAR file available.Outbound, inbound & AFNOR purchase PA-R → PA-E (on dispute or via AFNOR API).Mandatory Standard codes (unmapped → OTHER)No.Processing (Peppol invoices).
208 — Suspendue (Suspended)Outbound (PA-R): Emitted when purchase invoice is disputed with a suspend reason. Inbound (PA-E): Sets document status to DISPUTED. AFNOR Purchase: Forwarded with document status changed to DISPUTED.Purchase: Purchase: Triggers DISPUTE. Sales: Rejected (AccessDenied). GET /flows: Raw CDAR file available.Outbound, inbound & AFNOR purchase PA-R → PA-E (on suspend dispute, or forwarded via AFNOR).Mandatory in XML (MDT-113): Standard 208 codes. UI triggers: PURCHASE_ORDER_ ERROR, MISSING_CONTRACT_ REFERENCE, MISSING_ATTACHMENTS (mapped to AFNOR codes)No.Processing (Peppol invoices).
209 — Complétée (Completed)Outbound (PA-E): Emitted when seller resolves a suspend-type dispute (RESOLVE). Inbound (PA-R): Resolves status back to VALIDATED (if REFUSED, DISPUTED, CANCELED, or FULLY_APPROVED).Sales: Triggers RESOLVE (requires suspend-type DISPUTED state). Purchase: Rejected (AccessDenied). GET /flows: Raw CDAR file available.Outbound, inbound & AFNOR sales PA-E → PA-R (on resolution or via AFNOR API).NoneNo.Processing (Peppol invoices).
210 — Refusée (Refused)Outbound (PA-R): Emitted when purchase invoice is refused (REFUSE). Inbound (PA-E): Sets document status to REFUSED.Purchase: Triggers REFUSE. Sales: Rejected (AccessDenied). GET /flows: Raw CDAR file available.Outbound, inbound & AFNOR purchase PA-R → PA-E + PPF (on refusal or via AFNOR API).Mandatory Refusal codesYes (PPF Flux 6).Processing (Peppol + PPF; invoices).
211 — Paiement transmis (Payment sent / transmitted)Outbound (PA-R): Emitted on purchase "Paid" event. Inbound (PA-E): Logs user event only.Purchase: Triggers MARK AS PAID. Sales: Rejected (AccessDenied). GET /flows: Raw CDAR file available.Outbound, inbound & AFNOR purchase PA-R → PA-E (on payment or via AFNOR API).NoneNo.Processing (Peppol invoices; buyer-initiated).
212 — Encaissée (Payment cashed / collected)Outbound (PA-E): Emitted on sales "Paid" event. Inbound (PA-R): Logs user event only.Sales: Triggers MARK AS PAID. Purchase: Rejected (AccessDenied). GET /flows: Raw CDAR file available.Outbound, inbound & AFNOR sales PA-E → PA-R (+ PPF when VAT-on-payment rules apply).Payment block mandatory (BR-FR-CDV-14: MEN, MDT-215, MDT-224)Yes (PPF Flux 6, when VAT-on-payment applies).Processing (Peppol invoices + PPF VAT-on-payment).
213 — Rejetée (Rejected)Outbound: Auto-emitted on inbound validation/signature failure (PA-R) or AFNOR sales validation failure (PA-E). Inbound (PA-E): Sets delivery status to DELIVERY_REJECTED and records reason.POST /flows: Rejected (InvoiceLCAccess Denied). GET /flows: Raw CDAR file available.Outbound & inbound Auto-emitted: PA-R → PA-E + PPF / PA-E → PPF.Mandatory (Supported)Yes (PPF Flux 6).Transmission (Peppol + PPF; invoices).
500/501/601 — Recevable / Irrecevable / Rejet fonctionnel (Admissible / Inadmissible / Functional rejection — PPF feedback)Updates batch / upload record status and metadata for outbound CDAR and reporting flows.Optional under AFNOR XP Z12-013; stored as child files in BTX (filter update required to display).Inbound PPF feedback PPF → Banqup.PPF feedback reason listsNo (PPF system response).PPF Flux 6 Feedback.
Unsupported lifecycle statuses​
Code & StatusDocument/UI stateAFNOR APIDirectionReason codesPPF Req.Scope
201 — Émise par la plateforme (Issued by platform)Not applicable (rejected at AS4 level).POST /flows: Rejected (InvoiceLCAccessDenied).Standard: PA-E to its own client only (not exchanged between platforms). Banqup: Not emitted.NoneNo.Transmission (PA-E → Seller).
206 — Approuvée partiellement (Partially approved)Not applicable (rejected at AS4 level).POST /flows: Rejected (InvoiceLCAccessDenied).Standard: Buyer. Banqup: Not emitted.Not supported (Mandatory in AFNOR standard)No.Processing (Buyer → Seller).
214 — Visée (Endorsed)Not applicable (rejected at AS4 level).POST /flows: Rejected (InvoiceLCAccessDenied).Standard: Agent (mandataire) of seller or buyer. Banqup: Not emitted.Not supportedNo.Processing (Agents / mandataires).
220 — Annulée (Cancelled)Not applicable.Not supported.Standard: Seller / buyer. Banqup: Not emitted.NoneNo.Processing (Cancellation).
221 — Erreur de routage (Routing error)Not applicable.Not supported.Standard: PA-R to PA-E. Banqup: Not emitted.Not supported (AFNOR: ROUTAGE_ERR)No.Routing / Directory.
224–228 — Affacturage / Paiement direct (Factoring / Direct payment)Not applicable.Not supported.Standard: Seller / buyer. Banqup: Not emitted.NoneNo.Processing (Factoring / Direct payment).

​

AFNOR API integration​

  • Role resolution & flowType: Banqup derives whether you are acting as Seller or Buyer by matching the CDAR issuer SIREN against the workspace fr:siren, and automatically recomputes the submitted flowType. Submitting a status outside your role returns AccessDenied or InvoiceLCAccessDenied. *(Note: If a workspace has no fr:siren configured, role resolution defaults to Buyer.)
  • Asynchronous validation & error reporting:
    • POST /flows returns 202 Accepted immediately and validates the CDAR asynchronously against the FR CTC CDAR profile.
    • Poll GET /spaces/connectors/afnor/v1/flows/{flowId} and inspect acknowledgement.details for validation outcomes. Alongside standard AFNOR reason codes, Banqup may return custom codes (DocumentNotFound, ValidationError)[cite: 1].
  • Retrieving CDAR XML files: Every CDAR received from a counterparty or generated by Banqup can be downloaded as a raw XML file via GET /spaces/connectors/afnor/v1/flows/{flowId}.
  • Webhook triggers: Webhooks fire only when Banqup emits an internal BTX document lifecycle event (such as status transitions to APPROVED, DISPUTED, REFUSED, VALIDATED, or DELIVERY_REJECTED). Flows that only log user events, forward without a document operation, or trigger MARK AS PAID without a lifecycle event—such as inbound 200, 202, 203, 204, 211, and 212 messages, or 204, 211, and 212 flows submitted via POST /flows—do not emit webhooks.
  • State conflicts & terminal locks: If an operation conflicts with the invoice's current state (409), the flow transitions to ERROR with OtherTechnicalError. Once a 210 (Refused) or 213 (Rejected) status has been sent or received for an invoice, further lifecycle transitions are blocked.

Known limitations​

  • Status 210 (Refused) reason codes: Reason codes MONTANTTOTAL_ERR, CALCUL_ERR, DOUBLON, and ADR_ERR are currently rejected on POST /flows (InvoiceLCStatusError) and do not update the invoice status to REFUSED when received inbound.
  • Status 208 (Suspended) via POST /flows: While submitting 208 for a purchase invoice triggers DISPUTE, verify MDT-113 reason code mapping and any downstream 209 (Complétée) resolution requirements in your integration testing.
  • Inbound 207 / 208 dispute reasons: Unrecognized MDT-113 reason codes—as well as valid 207 codes DEST_INC, MONTANTTOTAL_ERR, CALCUL_ERR, DOUBLON, and ADR_ERR—are recorded under the generic OTHER dispute category.
  • Credit notes (TypeCode = 381) matching caveats: Although credit note CDARs are not officially supported, the AFNOR POST /flows endpoint does not filter by document category—meaning a submitted CDAR can inadvertently match a credit note if it shares the same document number as an invoice from the same seller. Similarly, inbound Peppol CDAR processing on the delivery side can still match credit notes even though Access Point linking is restricted to invoices.
  • Unexpected or misused inbound 200 (Déposée) messages: Status 200 is intended for PA-E deposit reporting to the submitter and PPF (Flux 6), not as an inbound PA-R processing status. When received inbound due to sender misconfiguration or misuse, Banqup logs a user event without changing the document state, and these messages do not trigger webhooks.