Ember Lane Pizza: UBL 2.1 invoice XML
UBL 2.1 invoice XML for Ember Lane Pizza. OASIS UBL 2.1 Invoice for INV-PIZ-5001 with 3 InvoiceLine elements, a TaxTotal of 12.19 on a taxable amount of 243.81, and a PayableAmount of 256.00 CAD. OrderReference names PO-PIZ-1001 and DespatchDocumentReference names GRN-PIZ-2001, both of which exist in this folder.
xml
application/xml
- Kit
- restaurant-pizzeria
- Schema Version
- 1
- Synthetic
- true
- As Of
- 2026-09-08
- Currency
- CAD
- Tax Name
- GST
Binary xml: no in-browser preview. Download it above to open in a compatible application.
Specifications
- Kit
- restaurant-pizzeria
- Schema Version
- 1
- Synthetic
- true
- As Of
- 2026-09-08
- Currency
- CAD
- Tax Name
- GST
- Tax Rate
- 0.05
- Document Number
- INV-PIZ-5001
- Standard
- OASIS UBL 2.1
- Invoice Lines
- 3
- Encoding
- UTF-8
- Line Endings
- LF
Testing contract
Expected to pass- Scenario
- Read ubl 2.1 invoice xml into a procure-to-pay import, three-way match and reconciliation workflow for Ember Lane Pizza.
- Expected result
- OASIS UBL 2.1 Invoice for INV-PIZ-5001 with 3 InvoiceLine elements, a TaxTotal of 12.19 on a taxable amount of 243.81, and a PayableAmount of 256.00 CAD. OrderReference names PO-PIZ-1001 and DespatchDocumentReference names GRN-PIZ-2001, both of which exist in this folder.
What is a .xml file?
XML (Extensible Markup Language) is a verbose, self-describing markup language using nested tags, attributes, and namespaces to represent structured, hierarchical data. It supports schemas, entities, and validation and underlies many document and data formats. It remains common in enterprise, publishing, and interchange contexts.
How to use this file
Use an example XML file to test parsers, namespace and schema validation, XPath queries, and protection against entity-expansion and external-entity attacks.
How to use this file for testing
“Ember Lane Pizza: UBL 2.1 invoice XML” is a deterministic Novus Examples fixture for Data import, Conversion testing, Schema validation. Realistic faker-generated datasets with documented schemas for testing import and ETL flows.
Documented properties for this file: UTF-8 · LF. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.
Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.
Document fixtures list their internal structure (pages, fields, tracked changes, embedded objects) in the spec table. Test extractors, converters, and OCR against that known structure, and compare searchable↔scanned or format-twin companions when present.
Code examples
import xml.etree.ElementTree as ET
tree = ET.parse("invoice-ubl.xml")
root = tree.getroot()
print(root.tag, [c.tag for c in root][:5])Related files
- xmlAlder Table Bistro: Factur-X CII invoice XMLFactur-X CII invoice XML for Alder Table Bistro. UN/CEFACT Cross Industry Invoice for INV-BST-5001 at the Factur-X BASIC guideline, with 3 trade line items, a TaxTotalAmount of 10.38 and a DuePayableAmount of 217.98 CAD. These bytes are the exact bytes embedded as factur-x.xml inside invoice-facturx.pdf.

- xmlAlder Table Bistro: UBL 2.1 invoice XMLUBL 2.1 invoice XML for Alder Table Bistro. OASIS UBL 2.1 Invoice for INV-BST-5001 with 3 InvoiceLine elements, a TaxTotal of 10.38 on a taxable amount of 207.60, and a PayableAmount of 217.98 CAD. OrderReference names PO-BST-1001 and DespatchDocumentReference names GRN-BST-2001, both of which exist in this folder.

- xmlCedar Street Tacos: Factur-X CII invoice XMLFactur-X CII invoice XML for Cedar Street Tacos. UN/CEFACT Cross Industry Invoice for INV-TRK-5001 at the Factur-X BASIC guideline, with 3 trade line items, a TaxTotalAmount of 9.38 and a DuePayableAmount of 197.08 CAD. These bytes are the exact bytes embedded as factur-x.xml inside invoice-facturx.pdf.

- xmlCedar Street Tacos: UBL 2.1 invoice XMLUBL 2.1 invoice XML for Cedar Street Tacos. OASIS UBL 2.1 Invoice for INV-TRK-5001 with 3 InvoiceLine elements, a TaxTotal of 9.38 on a taxable amount of 187.70, and a PayableAmount of 197.08 CAD. OrderReference names PO-TRK-1001 and DespatchDocumentReference names GRN-TRK-2001, both of which exist in this folder.

- xmlCopper Oven Bakery: Factur-X CII invoice XMLFactur-X CII invoice XML for Copper Oven Bakery. UN/CEFACT Cross Industry Invoice for INV-BAK-5001 at the Factur-X BASIC guideline, with 3 trade line items, a TaxTotalAmount of 8.27 and a DuePayableAmount of 173.68 CAD. These bytes are the exact bytes embedded as factur-x.xml inside invoice-facturx.pdf.

- xmlCopper Oven Bakery: UBL 2.1 invoice XMLUBL 2.1 invoice XML for Copper Oven Bakery. OASIS UBL 2.1 Invoice for INV-BAK-5001 with 3 InvoiceLine elements, a TaxTotal of 8.27 on a taxable amount of 165.41, and a PayableAmount of 173.68 CAD. OrderReference names PO-BAK-1001 and DespatchDocumentReference names GRN-BAK-2001, both of which exist in this folder.

Generated by generation/restaurant_procurement.py. Free for any use, no attribution required, license.