In my ERP, ZATCA integration has been successfully completed and everything is working fine, including credit notes. However, the rebate in credit notes is not functioning correctly.
The workflow for rebates is as follows:
Suppose I sell products to a hypermarket, and the total taxable sales for one month is SAR 100,000. If they request a 5% rebate, I need to issue a credit note for SAR 5,000 (taxable amount) as the rebate.
Can you please share a sample XML file for a rebate credit note?