Server returned an unexpected error: {"validationResults

Hi,
Facing below error signce yesterday, before there was no issue:

Server returned an unexpected error: {“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”:,“errorMessages”:[{“type”:“ERROR”,“code”:“BR-KSA-39”,“category”:“KSA”,“message”:“The invoice must contain the seller VAT registration number (BT-31) and/or seller group VAT registration number (KSA-18).”,“status”:“ERROR”}],“status”:“ERROR”},“clearanceStatus”:“NOT_CLEARED”,“clearedInvoice”:null}

Dear @gccvat12,

Thanks for reaching out.

The error BR-KSA-39 indicates that the invoice must include the seller’s VAT registration number (BT-31) or seller group VAT number as per the ZATCA XML standards attached below:

20230519_ZATCA_Electronic_Invoice_XML_Implementation_Standard_ vF.pdf

To resolve this, please ensure your XML file contains the VAT registration number in the following structure:

<ubl:Invoice>
 <cac:AccountingSupplierParty>
 <cac:Party>
 <cac:PartyTaxScheme>
 <cbc:CompanyID>YOUR_VAT_REGISTRATION_NUMBER</cbc:CompanyID>
 </cac:PartyTaxScheme>
 </cac:Party>
 </cac:AccountingSupplierParty>
</ubl:Invoice>

After updating the XML, it is recommended to validate it in the ZATCA simulation portal before resubmitting the invoice.

Let us know if you need further support.

Best regards,

checked the xml, the VAT number is available there.

Dear @gccvat12,

Kindly can you share the XML file to investigate the error?

Thanks,

How we can send please

Dear @gccvat12,

Kindly share it to the SP support team as per below:

SP mail: sp_support@zatca.gov.sa

Thanks,

We are facing a QR code issue where one out of every thousand invoices printed contains a QR code. that we correctly registered the seller VAT number

thanks for your update

1 Like