lavaloon-eg / ksa_compliance

KSA Compliance App for KSA E-invoice
https://www.lavaloon.com/
GNU Affero General Public License v3.0
38 stars 34 forks source link

Pre-payment validation warnings in generated XML #99

Closed saud-2 closed 2 months ago

saud-2 commented 3 months ago

When I perform compliance checks get this warning

Standard Compliance Check Result method Error Invoice Result: Invoice sent to ZATCA. Integration status: Accepted with warnings { "status": null, "invoice_hash": null, "cleared_invoice": null, "warnings": [ { "category": "KSA", "code": "BR-KSA-80", "message": " The Pre-Paid amount (BT-113) must be equal to the sum total of the Prepayment VAT category Taxable Amount (KSA-31) and the Prepayment VAT Category Tax Amount (KSA-32)." } ], "errors": [] }

mhaggag commented 3 months ago

There was an SDK update that added some validation around pre-payment; we don't support pre-payment yet, but we had some parts of it in place. These parts are causing the warning. We've fixed this problem in the develop branch but it's still pending testing.

mhaggag commented 2 months ago

This was fixed in 0.28.0 on the develop branch and is now available in 0.30.2 on the master branch

saud-2 commented 2 months ago

Thanks.