Skip to main content
In Italy, electronic invoices go through the Sistema di Interscambio (SDI). The XML FatturaPA file is the official invoice. The PDF is only a readable copy.

Generated format

Bonx generates a FatturaPA FPR12 file. It follows the SDI naming rules and is validated with the official Agenzia delle Entrate schema. The issuing establishment’s country determines the format. An Italian establishment generates FatturaPA. A French establishment generates Factur-X.

Generate FatturaPA

1

Request issue

Start validation from the invoice draft.
2

Bonx checks and issues the invoice

Bonx checks mandatory fields, the FatturaPA schema and SDI rules. Examples include a Natura code for 0% VAT, a PEC address when there is no recipient code, a 5-digit CAP and the customer’s tax identity. When the data is compliant, Bonx assigns the legal number and stores an immutable copy of the invoice.
3

Bonx generates the XML

Bonx creates the file on demand, validates it again and stores it with its hash before download.
If text exceeds a FatturaPA size limit, Bonx adapts it and displays a warning without blocking validation.

Required data

  • Company: name, partita IVA, codice fiscale, regime fiscale (RF01 to RF20), province and a 5-digit CAP.
  • Customer: codice fiscale or VAT number, plus codice destinatario. An Italian customer without a recipient code must have a PEC address.
  • VAT: the matching Natura code for each 0% rate. It follows the sales tax rule set in the accounting settings for the customer’s tax regime and the line’s rate (reverse charge N6.9, intra-EU supply N3.2, export N3.1…), along with its legal reference. Without a rule, a 0% rate is declared exempt (N4).
For a foreign customer, Bonx uses the generic code expected by SDI.

Document types

Bonx handles invoices, deposits, balances, credit notes and debit notes. The XML contains the matching TipoDocumento code and references to related documents. Pro forma invoices cannot be issued.

Deferred invoicing

On a draft standard or balance invoice, the Invoicing mode field offers:
  • Regular: keep the usual document type.
  • Deferred: use TD24 (ordinary deferred invoice).
  • Deferred — triangular operation: use TD25 (deferred invoice for the specific triangular sale).
This choice affects invoice issuance, not payment terms. When you bill selected shipments, Bonx presets Deferred if all delivery notes have a number and an actual departure date in the same calendar month, using each shipping site’s time zone. Departures must be today or earlier and must not follow the invoice date. You can change the choice while the invoice is a draft. Order invoices, balances, and triangular operations keep a manual choice. Once saved, the Delivery notes section lists the invoice’s delivery notes (DDT): the shipments the invoice was created from, numbered by their name and dated by their departure, else their planned shipping date. To correct a number or a date, edit the shipment. Validation is blocked if a DDT is missing, if a DDT has no date or is dated after the invoice, or if its number exceeds 20 characters. If the invoice is issued after the legal deadline (the 15th of the month after delivery for TD24, the end of the month after delivery for TD25), Bonx shows a warning but does not block issuance. At validation, the choice and the DDTs are frozen with the invoice.