Skip to main content

matheel_zatca 0.1.2 copy "matheel_zatca: ^0.1.2" to clipboard
matheel_zatca: ^0.1.2 copied to clipboard

Show Saudi ZATCA (Fatoora) e-invoices in Flutter: decode the Phase 2 TLV QR and render a bilingual invoice card with the QR and a PDF button.

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 يجون من سيرفرك بعد ما يرسل الفاتورة عن طريق ماثل.

0
likes
150
points
103
downloads
screenshot

Documentation

Documentation
API reference

Publisher

verified publishermatheel.app

Weekly Downloads

Show Saudi ZATCA (Fatoora) e-invoices in Flutter: decode the Phase 2 TLV QR and render a bilingual invoice card with the QR and a PDF button.

Homepage
Repository (GitHub)
View/report issues

Topics

#zatca #e-invoicing #saudi-arabia #qr-code #invoice

License

MIT (license)

Dependencies

flutter, qr

More

Packages that depend on matheel_zatca