validate_invoice_free
Use before uploading an e-Factura to ANAF SPV, after generating invoice XML, or when ANAF rejected an invoice: validates a UBL 2.1 Invoice/CreditNote (Romanian CIUS-RO 1.0.9, Peppol BIS 3.0, EN 16931) and returns every error with the fix in words, the UBL path of the field and, for amounts, the correct value. Start here: free, no wallet, account or key, 3 calls per day per client IP. Fix the XML from the report and call again. When the quota is used up, switch to validate_invoice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | The UBL 2.1 Invoice or CreditNote XML document, as text | |
| profile | No | Rule set; 'auto' reads it from the invoice's CustomizationID | auto |