XSD OASIS · 2.1

UBL 2.1 Catalogue

A product catalogue in UBL 2.1: items, prices and properties a seller offers a buyer.

About

Sellers send a catalogue so the buyer's procurement system can order from it; each line describes an item with its identifiers, price and classification.

Good to know

  • This entry checks the schema only; for the Peppol rules, choose Peppol Catalogue.
  • OASIS ships no Catalogue sample for UBL 2.1; the example is the Peppol one.

Files

14 files · 2.7 MB
  • maindoc/UBL-Catalogue-2.1.xsd main
    33 KB View Download
  • common/UBL-CommonAggregateComponents-2.1.xsd
    2.3 MB View Download
  • common/UBL-CommonBasicComponents-2.1.xsd
    214.7 KB View Download
  • common/UBL-CommonExtensionComponents-2.1.xsd
    9.3 KB View Download
  • common/UBL-QualifiedDataTypes-2.1.xsd
    3.5 KB View Download
  • common/UBL-UnqualifiedDataTypes-2.1.xsd
    26.7 KB View Download
  • common/UBL-ExtensionContentDataType-2.1.xsd
    4.2 KB View Download
  • common/CCTS_CCT_SchemaModule-2.1.xsd
    44.2 KB View Download
  • common/UBL-CommonSignatureComponents-2.1.xsd
    5.4 KB View Download
  • common/UBL-SignatureAggregateComponents-2.1.xsd
    7.6 KB View Download
  • common/UBL-SignatureBasicComponents-2.1.xsd
    4.1 KB View Download
  • common/UBL-xmldsig-core-schema-2.1.xsd
    10.5 KB View Download
  • common/UBL-XAdESv132-2.1.xsd
    21.2 KB View Download
  • common/UBL-XAdESv141-2.1.xsd
    1.3 KB View Download

The validator loads all of these with their folder structure, so includes and imports resolve as published.

Example document

Catalogue_Example.xml · 11.1 KB · valid against this schema

In CI and from code

The same schema by its name, ubl-2.1-catalogue, through the API.

npx @xmlvalid/cli validate "**/*.xml" --schema ubl-2.1-catalogue
- uses: xmlvalid/validate-action@v1
  with:
    files: "**/*.xml"
    schema: ubl-2.1-catalogue
    api-key: ${{ secrets.XMLVALID_API_KEY }}
curl https://xmlvalid.com/api/v1/validations \
  -H "Authorization: Bearer $XMLVALID_API_KEY" \
  -F document={{ $schema->example ?? 'document.xml' }} -F schema=ubl-2.1-catalogue

Free accounts get 100 API validations a month. On Pro, a URL monitor can check a published document against this schema every hour and email you when it breaks. More CI setups