UBL 2.1 Schema Violation Detected

Claudion ERP Logo

• Message

Error: The request you are sending to Zatca is in incorrect format. Status code: 400

{"validationResults":{"infoMessages":[],"warningMessages":[],"errorMessages":
[{"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: 130; columnNumber: 32; cvc-
complex-type.2.4.a: Invalid content was found starting with element
‘(\”urn:asis:names:specification:ubl:schemaxsd:CommonAggregateComponent

Solution:

The error indicates that the XML file submitted to ZATCA does not comply with the UBL 2.1 schema and ZATCA's specifications, meaning the structure of the XML file is incorrect.

The issue specifically points to the Common Aggregate Components element, which appears to be misplaced or not allowed as per the schema requirements. This structural error is found at line 130, column 32 of the XML file and needs to be corrected to ensure compliance.

Discard
Save
Was this article helpful?

On this page

Review Changes ← Back to Content
Message Status Space Raised By Last update on