Developers can integrate ZATCA QR Code API ( Application Programming Interface) into their billing applications to generate dynamic ZATCA QR Codes. API automatically calculate & pass value in Tag, Tag Length & Tag Value (TLV) by encoding the raw information passed into the API as per ZATCA QR Code Specifications.
Parameters | Data Type | Whether Mandatory | Description |
---|---|---|---|
apikey | string | Yes | Register and get your API key from member area |
seller_name | string | yes | Name of the Seller | vat_registration_number | string | yes | Saudi Arbia VAT Registration No. | invoice_datetime | string | yes | Invoice generation Date & Time if format yyyy-mm-ddThh:mm:ssZ | invoice_amount | string | yes | Invoice Amount in format 1500.00 | invoice_tax_amount | string | yes | Invoice Tax Amount in format 150.00 | bgColor | string | no | background Color hexa Color Code without # |
frColor | string | no | Foreground Color hexa Color Code without # |
size | number | no | from 50 to 1000 pixals If Size not defined, 500 pixel QR Code will be generated |
logo | string | no | logo file url Feature not available for testing. |
output | string | no | image -> if required output is QR Code Image JSON-> If required output in JSON. Output will be JSON and image will be encoded in base64 String If option is not defined, image will be the output in response |