Skip to content
Introduction Price $49 −$20
ESC

Searching...

Quick Links

Type to search • Press to navigate • Enter to select

Keep typing to search...

No results found

No documentation matches ""

Export a UBL 2.1 XML File.

How to export a finalized invoice or credit note as a UBL 2.1 XML file for structured data exchange.

May 20, 2026

Export a UBL 2.1 XML File

For: business owners and bookkeepers who need structured invoice data for accounting systems or regulatory compliance. What you need: a finalized invoice or credit note.

1. Open the document

Go to Sales > Invoices (or Credit Notes) and open the finalized document you want to export.

2. Click Export XML

On the document detail page, click Export XML. InvoiceScript generates a UBL 2.1 XML file and downloads it to your computer.

What the XML contains

The export includes:

  • Supplier (your company) and buyer (customer) details
  • Invoice number, dates, and currency
  • Line items with descriptions, quantities, prices, and tax information
  • Tax categories (S for standard, Z for zero-rate, AE for reverse charge, E for exempt)
  • Payment means with IBAN and BIC when present
  • For credit notes: billing references to the original invoice

What it does not do

This is a local file export. InvoiceScript does not send the XML over the Peppol network, submit it to a government portal, or validate it against a specific national mandate.

The export uses EN 16931-compatible data mapping, which covers the core European standard. Whether this satisfies your specific jurisdiction's requirements depends on your local regulations. Talk to your accountant or tax advisor.

Ready to build?

One-time purchase. Self-hosted. Own every file forever.

Get InvoiceScript