Invoice Signing issue

While submitting standard invoice in clearance API. should i need sign the XML file.

Im building cloud EGS using PHP, so both SDKs are useless for me(i think).

while validating through “Web Based Validator for Non-Technical Users” its getting error.

  • category : XSD_SCHEMA_ERROR
  • **code :**SAXParseException
  • message : Schema validation failed; XML does not comply with UBL 2.1 standards in line with ZATCA specifications. ERROR: org.xml.sax.SAXParseException; lineNumber: 54; columnNumber: 13; cvc-complex-type.2.4.a: Invalid content was found starting with element ‘{“urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2”:UUID}’. One of ‘{“urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2”:ProfileExecutionID, “urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2”:ID}’ is expected.

Morning @ramshad

Thanks for reaching out,

Kindly note that no need to sign the standard invoices, As it will be signed from ZATCA side and return it in the response as Cleared.

Additionally, your invoices must comply with UBL2.1 standard, you can find samples in our SDK tool after refiring to this path inside the SDK:
zatca-einvoicing-sdk-Java-238-R3.3.9\Data\Samples

you can download the SDK through Zatca

for any further concerns, do not hesitate to reach out our support team via below mail:

SP mail: sp_support@zatca.gov.sa

Thanks,
Ibrahem Daoud.