SaleCredits

Check a draft credit against the e-invoicing conformance rules

Submits the generated e-invoice (Factur-X / CII) to the e-invoicing platform's validator and returns the findings. The credit is NOT finalized and NOT transmitted — call this before Finalize to find out whether it would pass. Draft credits only: a finalized credit returns 409. The check re-renders the e-invoice from current data, which is not the document archived and transmitted at finalization, so the answer would not mean what it appears to mean. Read isValid for the verdict: a credit can be non-conformant while every finding is only a warning, because the French BR-FR rules are reported as warnings.

post/v1/salecredits/checkeinvoicing/{id}

Path parameters

idinteger required

Draft credit ID

Response

OK

isValidboolean

Whether the document is conformant. This is the verdict: a result can be invalid while every finding is only a warning, because the French BR-FR rules are reported as warnings.

messagesstring[] nullable

The same findings rendered as flat one-line messages, for simple display