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
-
this is the class :: from zakatqr import Zakatqr Zakatqr(seller_name, tax_number, timestamp, total_with_vat, total_vat)
-
make an instance of the class :: zakat = Zakat("seller name", "123456789", "2021-06-25 07:58:56.550604", "115", "15")
-
to make data as base64 :: base64 = zakat.tlv_as_base64()
-
to make qr code image :: qr_code = zakat.qr_code() qr_code.save("qr_code_img.png")
-
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)
Built Distribution
zakatqr-1.2-py3-none-any.whl
(3.3 kB
view hashes)