Dear Team,
We are getting below error while testing the self billed invoices.
Provided Self Billed in invoice transaction code
For Seller VAT Number field in XML, we provided Buyer’s VAT number
For Buyer VAT Number field in XML, we provided Seller’s VAT number
{
“InvoiceId”: “14f929ab-735c-4e83-964f-8486117c7c19”,
“AccepedByZatca”: false,
“IsGenerated”: false,
“ZatcaResponse”: {
“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”: “certificate-permissions”,
“category”: “CERTIFICATE_ERRORS”,
“message”: “User only allowed to use the vat number that exists in the authentication certificate”,
“status”: “ERROR”
},
{
“type”: “ERROR”,
“code”: “SELF_BILLED_VALIDATION”,
“category”: “WRONG_BUYER_VAT_NUMBER”,
“message”: “Buyer vat number in the provided certificate is not equal the vat number in the XML”,
“status”: “ERROR”
}
],
“status”: “ERROR”
},
“clearanceStatus”: “NOT_CLEARED”,
“clearedInvoice”: null
}
}