QR Code Extraction

Automatically detect and decode QR codes on receipts and invoices, regardless of position or orientation.

Key Capabilities

  • Extracts data from QR codes in any position or orientation
  • Works with any type of receipts and invoice
  • Available in Verbose Data Extraction APIs

Set-Up

  1. Enable QR Code Feature: Contact us at [email protected] to enable this feature for your account (opt-in required).
  2. Use Verbose Endpoints: The QR code extraction is available through our verbose API endpoints.

Usage

Once enabled, the API will automatically attempt to extract QR code data from submitted images. No additional request parameters are required.

Access path: entities.qrCodeData.data

{
  "entities": {
    "qrCodeData": {
      "data": "Raw QR code data",
      "text": "Human-readable version (if different)"
    }
  }
}

Example

Image

Receipt image with angled QR code

Receipt image with angled QR code

API Response

When a QR code is detected, the API response will include a qrCodeData object:

{
  "entities": {
    "qrCodeData": {
      "data": "01,10,031001900211,15004826,109.72,20190617,11467310187259010073,908E",
      "text": "01,10,031001900211,15004826,109.72,20190617,11467310187259010073,908E"
    }
  }
}

Country-Specific Importance

While this feature is globally applicable, it's particularly valuable for receipts and invoices from certain countries where QR codes are standardised or mandated. For example:

  • Brazil: QR codes on fiscal receipts (Nota Fiscal Eletrônica) for SEFAZ compliance.
  • India: QR codes on B2C invoices for businesses with high turnover, containing GST details.
  • China: QR codes on digital payment receipts (WeChat, Alipay) for transaction details.
  • Saudi Arabia: QR codes required on tax invoices as part of e-invoicing (FATOORAH) initiative.
  • Singapore: SGQR unified QR code system widely used for payments.
  • Mexico: QR codes on digital invoices (CFDI) for quick tax authority verification.
  • And more: Many other countries are adopting QR codes for financial documents, with varying standards and regulations.

Support

For integration support or questions, contact our support team at [email protected].