> 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/document-processing/module/bar-code-qr-code-extraction.md).

# Bar-Code / QR Code Extraction

## **Overview**

This feature enables automatic extraction of information from **both barcodes and QR codes** embedded in documents. It is an all-or-nothing setting — enabling it activates extraction for both types.

{% hint style="info" %}
**Related:** To manually read a barcode/QR value while validating a document and assign it to a field, see [Barcode Assignment](/administration-and-setup/settings/document-processing/module/barcode-assignment.md).
{% endhint %}

## How to Enable Bar-Code / QR Code Extraction

To enable the Bar-Code / QR Code Extraction feature, follow these steps:

1. **Navigate to Settings**:
   * From the Dashboard, go to **Settings**.
   * Select **Document Processing** and then choose **Module**.
2. **Enable the Feature**:
   * Scroll down to locate the **Bar-Code / QR Code Extraction** option.
   * Toggle the slider to enable Bar-Code / QR Code Extraction.

## **Supported Code Types**

DocBits supports extraction of the following code types:

* **QR-CODE**
* **EAN-2**, **EAN-5**, **EAN-8**, **EAN-13**
* **UPC-A**, **UPC-E**
* **ISBN-10**, **ISBN-13**
* **COMPOSITE**
* **I25**
* **DATABAR**, **DATABAR-EXP**
* **CODABAR**
* **CODE-39**, **CODE-93**, **CODE-128**
* **PDF-417**
* **SQ-CODE**

## Payment QR Code Standards

Beyond generic QR decoding, DocBits recognises **seven distinct Payment QR Code standards** and auto-extracts their payment fields into the document API response. Customers no longer need to decode these QR strings manually — every standard comes with its own field prefix (e.g. `swissqr_*`, `girocode_*`) so values flow straight into matching, validation, and export.

| # | Standard                                                                                                                        | Region                                    | Field prefix | Typical use                                           |
| - | ------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- | ------------ | ----------------------------------------------------- |
| 1 | [Swiss QR Bill](/administration-and-setup/settings/document-processing/module/bar-code-qr-code-extraction/swiss-qr-code.md)     | Switzerland                               | `swissqr_*`  | Every Swiss invoice since 2020                        |
| 2 | [GiroCode (EPC069-12)](/administration-and-setup/settings/document-processing/module/bar-code-qr-code-extraction/girocode.md)   | DE, AT, NL, BE, FI                        | `girocode_*` | SEPA payments                                         |
| 3 | [SPAYD / SPD](/administration-and-setup/settings/document-processing/module/bar-code-qr-code-extraction/spayd.md)               | CZ, partially SK                          | `spayd_*`    | Czech Banking Association standard                    |
| 4 | [PagoPA](/administration-and-setup/settings/document-processing/module/bar-code-qr-code-extraction/pagopa.md)                   | IT (public admin)                         | `pagopa_*`   | Mandatory on Italian PA invoices                      |
| 5 | [Crypto Payment URIs](/administration-and-setup/settings/document-processing/module/bar-code-qr-code-extraction/crypto-uris.md) | Global crypto                             | `crypto_*`   | Bitcoin, Lightning, Ethereum, Zcash, Litecoin         |
| 6 | [EMVCo MPM](/administration-and-setup/settings/document-processing/module/bar-code-qr-code-extraction/emvco-mpm.md)             | BR, IN, SG, TH, MY, ID, PH, VN, HK + more | `emvmpm_*`   | Pix, UPI, PayNow, PromptPay, QRIS, QR Ph, VietQR, FPS |
| 7 | [ZATCA Fatoora](/administration-and-setup/settings/document-processing/module/bar-code-qr-code-extraction/zatca-fatoora.md)     | Saudi Arabia                              | `zatca_*`    | Mandatory on every KSA invoice                        |

**Detection is automatic.** Each decoded QR string is inspected for its magic prefix (e.g. `SPC\n0200` for Swiss QR Bill v2.0, `PAGOPA|002|` for PagoPA) and only recognised standards are parsed into structured fields.

### **Related Pages**

[Barcode Extraction Details](/administration-and-setup/settings/document-processing/module/bar-code-qr-code-extraction/bar-code-extractions.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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.docbits.com/administration-and-setup/settings/document-processing/module/bar-code-qr-code-extraction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
