Skip to main content

Django App to Create Zakat Invoice QR Code Image

Project description

===================== Django Zakat QR Code

Zakat QR Code is used in for Saudi Arabia invoicing system .

Quick Start

  1. this is the class :: from zakatqr import Zakatqr Zakatqr(seller_name, tax_number, timestamp, total_with_vat, total_vat)

  2. make an instance of the class :: zakat = Zakat("seller name", "123456789", "2021-06-25 07:58:56.550604", "115", "15")

  3. to make data as base64 :: base64 = zakat.tlv_as_base64()

  4. to make qr code image :: qr_code = zakat.qr_code() qr_code.save("qr_code_img.png")

  5. to get a qr image as base64 that can be used in templates for examble :: url = zakat.qr_image_encoded_uri()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zakatqr-1.2.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

zakatqr-1.2-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page