matheel_zatca

Show a Saudi ZATCA (Fatoora) e-invoice in a Flutter app.

  • ZatcaQrData.decode(qr) reads the Phase 2 TLV QR (seller, VAT number, time, total, VAT, hash, signature, key).
  • ZatcaInvoiceCard(qr: …, onOpenPdf: …) draws the scannable QR natively with the decoded figures, in Arabic (RTL) or English, and a PDF button.
  • ZatcaQrImage(qr: …) is the QR alone.

English invoice card Arabic invoice card

ZatcaInvoiceCard(
  qr: invoice['qr'],                                  // from your backend
  onOpenPdf: () => launchUrl(Uri.parse(invoice['pdf_url'])),
)

The qr and the PDF come from Matheel, which signs the invoice, files it with ZATCA and returns both in one call. Call Matheel from your server, never from the app: your Matheel key stays server-side. Ready server functions in PHP, Laravel, Node.js, Python, Java, C#, Go, Ruby, Elixir and Rust: https://matheel.app/en/zatca-integration

عربي

اعرض فاتورة زاتكا داخل تطبيق فلاتر: فك رمز QR (المرحلة الثانية) وبطاقة فاتورة عربي فيها الرمز والإجمالي والضريبة وزر عرض الـ PDF. الـ QR والـ PDF يجون من سيرفرك بعد ما يرسل الفاتورة عن طريق ماثل.

Libraries

matheel_zatca
Shows a Saudi ZATCA e-invoice in a Flutter app: decodes the TLV QR and draws an invoice card with the QR.