Self Billing Errors

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
}
}

@Manibala56 even under self billing arrangement, seller’s VAT number should be provided under AccountingSupplierParty tag and buyer’s VAT number should be provided under AccountingCustomerParty tag. Do not interchange them. System will check the Invoice Transaction Type Code and if the self billing indicator is true (7th digit in code 0100001 is true) then API authentication will be done using Buyer’s VAT number.

@Ankit_Tiwari , When we pass self billed as “1” then also the API are validating VAT number, Please check the below screen shot. Can you please check advice.



Error Response from the API.
[BR-CUSTOM-VALIDATION-01]- The Seller VAT registration number or seller group VAT registration number (BT-31) of The invoice must not match the buyer VAT registration number (BT-48)

@sameer self-billed invoice is a legal concept wherein “Buyer” raises Tax Invoice to itself on behalf of the supplier. Legal provisions regarding self-billing are in Article 53(2) of KSA VAT Regulations.