Skip to content

Releases: Saleh7/php-zatca-xml

v2.1

16 Feb 15:05
Compare
Choose a tag to compare

🚀 Version 2.1 - Improvements & Fixes

This update brings important fixes and improvements to enhance the accuracy of invoice signing and QR generation.

🔹 What's New?

  • Enhanced QR Code Output – Added the signature node to the QR node in InvoiceSigner.
  • 🔧 Certificate Hash Fix – Fixed raw binary encoding issue in Certificate class for more accurate hash calculation.
  • 🛠 Improved XML Signature Handling – Fixed digest calculation and improved XML formatting in InvoiceSignatureBuilder.
  • 🔄 Method Naming Fix – Renamed getCertificateSignature to getCertSignature in InvoiceExtension for better consistency.
  • 📄 Updated Documentation – Improved README.md with clearer instructions.

This update ensures more accurate invoice signing and better QR code generation. 🚀

💡 Found an issue or have a suggestion? Feel free to contribute!

v2.0

14 Feb 18:50
Compare
Choose a tag to compare

🚀 Version 2.0 - Major Update

🔹 What's New?

  • Enhanced Invoice Generation 🧾

    • Improved GeneratorInvoice initialization.
    • Added saveXMLFile() method for invoice storage.
  • ZATCA Compliance Improvements

    • Added examples for generating & signing invoices using ZATCA certificates.
    • Fixed XML structure for better compliance with ZATCA standards.
  • New Features & Enhancements 🔧

    • Added QRCodeGenerator class with comprehensive unit tests.
    • Introduced InvoiceSignatureBuilder for digital signatures.
    • Improved InvoiceExtension with better parsing capabilities.
  • New Features: Certificate Generation with CertificateBuilder 🏆

    • Created an example to demonstrate certificate generation.
    • Utilized CertificateBuilder to generate a CSR and private key.
    • Configured organization details, serial number, and invoice type.
    • Handles errors with CertificateBuilderException for better debugging.
  • Code Improvements & Fixes 🛠️

    • Updated PHP version requirement to >=8.1.
    • Optimized project dependencies & improved unit tests.

💡 New Contributors

Thanks to @sevaske for contributing! 🎉
🔗 Pull Request #6

🚀 Upgrade now for improved invoice generation, better compliance, and new certificate handling features! 🎉

v1.0

09 Jan 15:41
Compare
Choose a tag to compare

Change log: