Get Facturae XML (B2G)
get_invoice_facturaeReturn the Facturae 3.2.1 XML of a finalized invoice, for invoicing Spanish public administrations (schools, ayuntamientos, universities). The XML is UNSIGNED and therefore not submittable on its own: FACe requires a XAdES-signed .xsig even through its web form. Use it to preview and validate the data; to actually file the invoice use submit_invoice_to_face, which signs it first. Requires the customer to be marked as public administration with the three DIR3 codes set; if data is missing, the tool explains exactly what to add.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes |