> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/administration-and-setup/settings/global-settings/document-types/edi/supported-electronic-documents/ubl-2-1.md).

# UBL 2.1

UBL 2.1 electronic document support in DocBits

{% hint style="info" %}
Check the country guide for version limits, effective configuration and the country explainer. [International](/administration-and-setup/settings/global-settings/document-types/edi/supported-electronic-documents/international.md). Invoice, order, response and despatch mappings are distinct. File processing does not itself provide a Peppol access point or trading-partner connectivity.
{% endhint %}

| Property             | Value                                        |
| -------------------- | -------------------------------------------- |
| **Country / Region** | International                                |
| **Document Types**   | Invoice, Credit Note, Order, Despatch Advice |
| **Format**           | UBL 2.1 XML                                  |
| **Standard**         | OASIS UBL 2.1 (Universal Business Language)  |

UBL 2.1 (Universal Business Language) is the OASIS open standard for business documents. It serves as the foundation for many national e-invoicing standards including Peppol BIS, XRechnung (UBL variant), OIOUBL, and SI-UBL. DocBits processes generic UBL 2.1 invoices that don't match any country-specific standard.

## Support Status

| Component        | Status      |
| ---------------- | ----------- |
| Preview          | ✅ Supported |
| Field Extraction | ✅ Supported |
| Transformation   | ✅ Supported |

## Default Preview

<figure><img src="https://578966019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2n2w4uDCJvv7CJ5zrdk%2Fuploads%2Fgit-blob-016e33a50cd24954365a25dbf2cfdf9cd4bfe474%2Fubl-2-1-preview.png?alt=media" alt="UBL 2.1 invoice preview in DocBits"><figcaption><p>Default DocBits preview for a UBL 2.1 invoice</p></figcaption></figure>

## Related

* [Supported Electronic Documents](/administration-and-setup/settings/global-settings/document-types/edi/supported-electronic-documents.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docbits.com/administration-and-setup/settings/global-settings/document-types/edi/supported-electronic-documents/ubl-2-1.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
