CSR for ZATCA e-Invoicing system
- tags
- , E-Invoicing
Summary #
Creating for the EGS unit.
Documentation #
documentation #
5.3 Generate CSR of User_Manual_Developer_Portal_Manual_Version_3.pdf
Properties #
EGS serial number #
csr.serial.numberis the name in CSR template- According to this, should be populated automatically, may be this is the reason why CSR and generated automatically here, Typescript code
User_Manual_Developer_Portal_Manual_Version_3.pdf
Number Manufacturer or Solution Provider Name, Model or Version and Serial Number
Automatically filled and not by the taxpayer: Unique identification code for the EGS.
manufacturing number #
Manufacturer serial number for each solution unit including
- Manufacturer or Solution Provider Name | 2-Model or Version | 3-SerialNumber
Free text Validate the format with a Regular Expression (1-…| 2-…
| 3-….) |
Example
csr.serial.number=1-TST|2-TST|3-ed22f1d8-e6a2-1118-9b58-d9a8f11e445f
zatca-xml-js this how it is done here
populated_template = populated_template.replace("SET_EGS_SERIAL_NUMBER", `1-$props.solution_name|2-$props.egs_model|3-$props.egs_serial_number`);
Example Sample from #
“csr.properties”
csr.common.name=TST-886431145-311111111101113
csr.serial.number=1-TST|2-TST|3-ed22f1d8-e6a2-1118-9b58-d9a8f11e445f
csr.organization.identifier=311111111101113
csr.organization.unit.name=Riyadh Branch
csr.organization.name=ABCD Limited
csr.country.name=SA
csr.invoice.type=1111
csr.location.address=RRRD2929
csr.industry.business.category=Real estate activities
#
CSR Required Inputs #
Common Name #
- Description: You have to provide either name or asset tracking number for the device/EGS unit.
- Specification: Free text
EGS Serial Number #
- Description: You have to submit the Manufacturer/EGS provider name, Model/version, and Serial number.
- Specification: Free text
Organization Identifier #
- Description: You have to provide the VAT Registration number. It is important to verify whether the OTP is associated with it or not.
- Specification: 15 digits, starting and ending with 3
Organization Unit Name #
- Description: You must give the branch name. Also, provide the 10-digit TIN number if you are a VAT group.
- Specification: If the 11th digit of the organization identifier is not 1, then free text. If it is 1, then a 10-digit number.
Organization Name #
- Description: You shall mention your name or the organization’s name.
- Specification: Free text
Country Name #
- Description: You have to mention the country name.
- Specification: Two-letter code (ISO 3166 Alpha-2)
Invoice Type (Functionality Map) #
- Description: Mention the document type your EGS unit will issue. Also, you can map these with 4-digit binary numbers.
- Specification: 4-digit binary number (must contain 0s and 1s only, cannot all be 0s)
Location #
- Description: You must give the branch address or location. This field could be a website address for an e-commerce business.
- Specification: Free text
Industry #
- Description: You have to provide the industry or sector.
- Specification: Free text