Hi yes its same vat number and cr number. i had tried to create manually and also used wizard as well but same error is coming , please can you help me
Error: Error: The request you are sending to Zatca is in incorrect format. Status code: 400
{“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”}],“status”:“ERROR”},“clearanceStatus”:“NOT_CLEARED”,“clearedInvoice”:null}
But in customer, we’ve
“Customer ID Type for Zatca” = “TIN”
“Customer ID Number for Zatca” = “customer’s-tax-number”
but we can’t find the find the field for customer CR number.
If we select CRN in “Customer ID Type for Zatca”, then which field to use for TIN?
Can you please update us for the right fields to use that are linked with ZATCA APIs?
It is legal question that we cannot answer. Normally its CRN and CR number. You Need to check customer type and number. There is only one field for that, TIN or CRN or 0700 etc need to select according to customer document. Please consult your ZATCA account manager or auditor.
if you are using sandbox, use 399999999900003 as your company VAT and test. All sandbox vat is 399999999900003
When you are using simulation or produciton, then only your VAT will be applicable
Enter the this value ( 399999999900003 ) as company VAT in case you are using sandbox testing.
We have successfully integrated normal Sales Invoices with ZATCA using the ERP Gulf App and ERPNext v15. However, we are facing issues when trying to send POS Invoices to ZATCA.
For normal Sales Invoices, the system accepts the format: ACC-SINV-2025-00001
and reports successfully to ZATCA.
But for POS Invoices, even after setting the naming series and configuration, ZATCA rejects the format: POS-INV-2025-00001
We also tried enabling Send POS Invoices to Zatca on Background in the ZATCA Multiple Settings, but it still gives errors related to the CSR configuration not being found.
Here are screenshots of the error and configuration:
when I attempt to add a customer address, I encounter:
pymysql.err.OperationalError: (1054, “Unknown column ‘custom_ksa_einvoicing_xml’ in ‘field list’”)
My Questions:
Why is the system requiring a buyer address for B2C POS Invoices when ZATCA does not mandate it? How should I handle the missing custom_ksa_einvoicing_xml field in the POS Invoice Doctype? Should I create it manually, or will it be handled in a future update?
Here are the current versions:
The field displayed in Arabic, whether for the customer or the company, not opened from an external application. It appears in the default version when the country is selected, Saudi Arabia.
I check this , You can try this to insured.
Therefore, it is recommended that the system use the default field instead of creating a new one.
It appears that during development, the company’s country was not specified, so the system did not open these fields. The programmer created this field.
This update will make the system more compatible with the default version because it does not add duplicate fields and will make it easier to activate the application (especially if the client is active), so we do not have to copy fields to the field used by the system.
It will also save us from adding the field to the quote and sales order, so that the name is automatically withdrawn.
Another thing: In the customer document, it’s preferable that the default value for “Customer ID Type for ZATCA” be “TIN,” as most transactions are done using the tax number.
1-
Thanks. will consider that in the next version. need to check how it will impact existing user. Many companies use the app now and we need to consider them.
2-
Is it TIN or CRN ? The feedback we got is CRN .