Previously, my system was processing only SAR currency invoices. I recently updated the implementation to make it dynamic so that it can also process USD currency invoices.
Following the sample XML, I completed all the required XML changes. However, I am now receiving an error during processing. Unfortunately, the response does not include any error code or detailed message, which makes it very difficult to identify the root cause.
Could you please review and let me know if there is anything missing or if any additional elements or changes are required to make it work correctly for USD invoices?
Thank you.
{
“validationResults”: {
“infoMessages”: [
{
“type”: “INFO”,
“code”: “XSD_ZATCA_VALID”,
“category”: “XSD validation”,
“message”: “Complied with UBL 2.1 standards in line with ZATCA specifications”,
“status”: “PASS”
}
],
“warningMessages”: [
{
“type”: “WARNING”,
“code”: “BR-53”,
“category”: “EN_16931”,
“message”: “[BR-53]-If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided.”,
“status”: “WARNING”
}
],
“errorMessages”: [
{
“type”: “ERROR”,
“code”: “GENERAL”,
“category”: “BUSINESS_RULES”,
“message”: “Unable to execute Business Rules validation ->”,
“status”: “ERROR”
}
],
“status”: “ERROR”
},
“clearanceStatus”: “NOT_CLEARED”,
“clearedInvoice”: null
}