Symptom
- Rebate settlement documents are rejected by ZATCA in transaction EDOC_COCKPIT under 'Saudi Arabia Tax Inv' with the following error:
S:BR-KSA-F-04:000 [BR-KSA-F-04] - All the document amounts and quantities must be positive, unless specified otherwise.
- Affected rebate settlement documents contain both positive and negative line items.
- XML analysis confirms that negative values are being populated in the invoice line tags of the submitted XML
- In some scenarios, all line items of the settlement document are negative, resulting in a negative net amount for the contract
Read more...
Environment
- SAP ERP
- SAP S/4HANA
- SAP Document Reporting and Compliance service
- Saudi Arabia (ZATCA e-Invoicing)
Product
Keywords
ZATCA, Saudi Arabia, KSA, e-Invoicing, eDocument, EDOC_COCKPIT, BR-KSA-F-04, Rejected by Authority, rebate settlement, credit note, negative amounts, negative line items, BAdI EDOC_ADAPTOR, SET_OUTPUT_DATA, XML tags, sign conversion, positive values, SA_INV, SA_INV_CR, EDOSDTYPE, Saudi Arabia Tax Inv, All the document amounts and quantities must be positive, CANCELLED eDocument, reprocess eDocument, S/4HANA 2023, eDocument Framework , KBA , CA-GTF-CSC-EDO-SA , Document Compliance Saudi Arabia , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview