Tuesday, April 15, 2025
1 change · 18.0
Enhancements to existing features
Saudi e-invoicing now treats certain ZATCA rejection responses consistently, preserving the right audit trail and invoice sequence behavior. Rejected invoices keep their original confirmation time, are stored as protected attachments, and show clearer error details for users.
Original PR description
But also: - not 400/500 should keep the chain index (each sequential number should have a corresponding invoice) - confirmation datetime should stay the same when the invoice was rejected - Before, the response could get complicated where the json was stringified in the json, while here it is all in the json itself. And so the 400 should be treated the same as other errors. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr