New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Add option to add PDF417 barcode to invoice #1017
Comments
Refering: PDF417
helpful resource: https://github.com/leongrdic/php-pdf417
|
@bgradis thank you for your issue and @marneu thank you for the suggestion. |
@bgradis, |
Hmm, I should explain in detail. QR codes on Croatian invoices are usually used for checking invoice validity on the tax administration server. QR code contains URL to https://porezna.gov.hr and sends ZKI or JIR code and invoice date. ZKI code is issuer_id and is always created based on the certificate provided by the tax administration. JIR code is received from the tax administration server as a response to sending ZKI to the tax server and is also required but in case of network issues, you have 48 hours to send all remaining ZKI codes. All invoices/receipts that have cash or card transactions must have that code as fiscalisation law states. Transactional invoices don't need that. Specifications for fiscalisation and QR codes can be found here: https://www.porezna-uprava.hr/HR_Fiskalizacija/Documents/Fiskalizacija-Tehnicka%20specifikacija%20za%20korisnike_v2.0.pdf (page 48) Example of QR code used for fiscalisation: PDF417 or maybe it would be better to say HUB-3 PDF417. HUB-3 means Croatian Banking Association (Hrvatska Udruga Banaka) and they define payment slip (not sure if correct translation) type which is called HUB-3 and it looks like this: PDF417 barcode on the HUB3 payment slip contains all data from it in the structure defined in the following document: https://www.hub.hr/sites/default/files/inline-files/2DBK_EUR_Uputa_1.pdf So basically instead of typing all invoice data, you can scan the code with your mPayment app and the payment order in the app will be prepared with all fields waiting for you to confirm so the transaction can be made. |
@bgradis, |
Expected Behavior
I would like to have an option to add a PDF417 barcode to the invoice which is used in Croatian invoices.
PDF417 spec can be found here (in Croatian language): https://www.hub.hr/sites/default/files/inline-files/2DBK_EUR_Uputa_1.pdf
Current Behavior
Screenshots
Example of an invoice with PDF417 barcode:
Possible Solution
Steps to Reproduce
Context (Environment)
Detailed Description
Possible Implementation
Failure Logs
The text was updated successfully, but these errors were encountered: