Skip to main content

XML namespace

UBL 2 Invoice

The root namespace for a UBL invoice, the basis of most European e-invoicing mandates.

xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"

UBL splits its vocabulary across several namespaces: this one for the document type, plus CommonBasicComponents (cbc:) for leaf values and CommonAggregateComponents (cac:) for structures. A UBL invoice therefore always declares at least three namespaces.

Peppol BIS and most national e-invoicing profiles are constraint layers on top of these schemas, so a document can be schema-valid UBL and still be rejected by a network's own rules.

URI
urn:oasis:names:specification:ubl:schema:xsd:Invoice-2
Prefix
Usually the default namespace
Elements
InvoiceIDIssueDateAccountingSupplierPartyInvoiceLine

Get started

Bring order to the XML your team can't afford to ignore.

Create a free account and get a private workspace to search, validate, diff, and monitor your XML feeds, sitemaps, schemas, and vendor integrations.