Several outputs can describe the same invoice while serving different purposes. Choose the file according to the recipient or accounting application’s needs, not just its extension. Downloading an output does not send it through PEPPOL.
PDF for reading; XML according to its specific format
PDF lets a person inspect the layout and details. XML describes a way of encoding structure, not a universal accounting format. An accounting application may require its own import with particular fields and settings.
Peppol BIS Billing defines specifications, UBL invoice and credit-note syntax, and validation rules. An arbitrary accounting XML file is therefore not automatically a compatible PEPPOL invoice.
Choose the output for its recipient
Confirm the target application and supported import with the accountant. Provide the customer’s document through an agreed method consistent with the applicable rules. Do not send a random XML file merely because the customer requested an electronic invoice.
For PEPPOL, use the available delivery workflow with the company and recipient verified. PDF may serve as a readable copy, but it does not establish network submission or delivery of the structured document.
Compare the contents before use
Check the number, both parties, currency and totals across available outputs. An edited draft and a previously downloaded file may represent different versions. Use a test company in the target accounting application for the first import.
Do not mechanically round every unit price and quantity to two decimals. They may need greater precision even when final monetary amounts are displayed with two decimals. Investigate source values and validation results when totals differ.
Sources and further reading
FAQ
Can I just rename a file to UBL.xml?
No. Compatibility depends on content, schema and applicable rules, not the file name.
Does successful validation prove delivery?
No. Validation and the delivery outcome are separate checks.

