Export Invoice XML getting BR-KSA-14 error

I am working on Export Invoice for foreign customers my XML in AccountingCustomer party is as follows

<cac:AccountingCustomerParty>
    <cac:Party>
      <cac:PartyIdentification>
        <cbc:ID schemeID="TIN">11111-1</cbc:ID> // Sample TIN no has - in tin number
      </cac:PartyIdentification>
      <cac:PostalAddress>
        <cbc:StreetName>(steet name)/cbc:StreetName>
        <cbc:BuildingNumber>(building no)</cbc:BuildingNumber>
        <cbc:CitySubdivisionName>(City Subdivision)</cbc:CitySubdivisionName>
        <cbc:CityName>(City)</cbc:CityName>
        <cbc:PostalZone>(postal code)</cbc:PostalZone>
        <cac:Country>
          <cbc:IdentificationCode>BH</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName> (Party Name).</cbc:RegistrationName>
      </cac:PartyLegalEntity>
    </cac:Party>

I have TIN of all foreign customer using it as Scheme Id now I am getting this error “Message”: “The buyer identification (BT-46), required only if buyer is not VAT registered, then the buyer identification (BT-46) must be provided with one of the scheme IDs (BT-46-1) (TIN, CRN, MOM, MLS, 700, SAG, NAT, GCC, IQA, OTH) and must contain only alphanumeric characters. Tax Identification Number ‘TIN’ as schemeID. Commercial registration number with ‘CRN’ as schemeID. MOMRAH license with ‘MOM’ as schemeID. MHRSD license with ‘MLS’ as schemeID. 700 Number with ‘700’ as schemeID. MISA license with ‘SAG’ as schemeID. National ID with ‘NAT’ as schemeID. GCC ID with ‘GCC’ as schemeID. Iqama Number with ‘IQA’ as schemeID. Passport ID with ‘PAS’ as schemeID. Other ID with ‘OTH’ as schemeID.In case of multiple commercial registrations, the seller should fill the commercial registration of the branch in respect of which the Tax Invoice is being issued. In case multiple IDs exist then one of the above must be entered following the sequence specified above.”, can anyone help me to resolve this and is his because TIN has ’ - ’ character in it ? if yes then whats alternative as all TIN number are in 5 (digits)- 1 format

@Sumeeth for all invoices to foreign customers, their home country ID should be provided in the field "Other Buyer ID (BT-46) under the attribute “OTH” irrespective of the type of ID. Even if it is VAT # of foreign country or CR # or TIN # what ever be the ID it should be under the attribute OTH.

I changed the XML structure and provided in the field "Other Buyer ID (BT-46) under the attribute “OTH” same error exists then I removed “-” character from it and it works . The issue is it needs an alphanumeric value but the TIN number has - is there any other way I can submit my TIN number with “-” character

Is this mandatory to set foreign customers id type to “OTH”. Some clients set it as TIN or CRN in the software.

@mohan_manakkal attributes TIN and CRN are in context of TIN issued by ZATCA and CRN issued by Ministry of Commerce in Kingdom. Similar IDs issued by authorities outside Kingdom should not be included in these attributes rather under “OTH”.

1 Like

Is there any action required to taken for already submitted invoices?