# Invoice Hash API body does not match

**URL:** <https://zatca1.discourse.group/t/invoice-hash-api-body-does-not-match/9826>\
**Category:** Clearance and Reporting\
**Created:** [February 27, 2026, 1:27pm UTC](https://zatca1.discourse.group/t/invoice-hash-api-body-does-not-match/9826 "2026-02-27T13:27:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SureshRajendran](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@SureshRajendran](https://zatca1.discourse.group/u/SureshRajendran)\
**Post date:** [February 27, 2026, 1:27pm UTC](https://zatca1.discourse.group/t/invoice-hash-api-body-does-not-match/9826/1 "2026-02-27T13:27:13Z")

</div>

When I Submitting my xml for clearance I got the below result:

“ComplianceResult”: {

“validationResults”: {

“infoMessages”: [],

“warningMessages”: [],

“errorMessages”: [

{

“type”: “ERROR”,

“code”: “invalid-invoice-hash”,

“category”: “INVOICE\_HASHING\_ERRORS”,

“message”: “The invoice hash API body does not match the (calculated) Hash of the XML”,

“status”: “ERROR”

},

{

“type”: “ERROR”,

“code”: “XSD\_ZATCA\_INVALID”,

“category”: “XSD validation”,

“message”: “Schema validation failed; XML does not comply with UBL 2.1 standards in line with ZATCA specifications. ERROR: org.xml.sax.SAXParseException; lineNumber: 29; columnNumber: 44; cvc-complex-type.2.4.b: The content of element ‘ds:Reference’ is not complete. One of ‘{\“[XML-Signature Syntax and Processing](http://www.w3.org/2000/09/xmldsig#%5C%E2%80%9D:DigestValue)}’ is expected.”,

“status”: “ERROR”

},

{

“type”: “ERROR”,

“code”: “GENERAL”,

“category”: “BUSINESS\_RULES”,

“message”: “Unable to execute Business Rules validation -\>”,

“status”: “ERROR”

},

{

“type”: “ERROR”,

“code”: “QRCODE\_INVALID”,

“category”: “QRCODE\_VALIDATION”,

“message”: “Failed to validate QR code”,

“status”: “ERROR”

}

],

“status”: “ERROR”

},

“reportingStatus”: “NOT\_REPORTED”,

“clearanceStatus”: **null** ,

“qrSellertStatus”: **null** ,

“qrBuyertStatus”: **null**

}
