Hello team,
I have done the invoice checks for all 6 invoices types and received PASS
status for them.
But when try to generate a production CSID in simulation environment, i got the following error
{
"code": "Missing-ComplianceSteps",
"message": "The compliance certificate is not done with the following compliance steps yet [standard-compliant,standard-credit-note-compliant,standard-debit-note-compliant,simplified-compliant,simplified-credit-note-compliant,simplified-debit-note-compliant]"
}
The steps i took as following:-
1- CSR is sent successfully received the following response from /compliance
API
{
“csr”:“XXXXXXXXX”
}
Response
{
“requestID”:XXXXXX,
“dispositionMessage”:“ISSUED”,
“binarySecurityToken”:“XXXXX”,
“secret”:“XXXXXXXXX”,
“errors”:null
}
2- Second step, i have complete 6 invoice checks for Simplified and Standard, and i got PASS
status for them
Here is the .cnf file
[req]
distinguished_name = req_distinguished_name
req_extensions = v3_req
prompt = no
[req_distinguished_name]
C = SA
O = ${this.escapeOpenSSL(input['csr.organization.name'])}
OU = ${this.escapeOpenSSL(input['csr.organization.unit.name'])}
CN = ${this.escapeOpenSSL(commonName)}
[v3_req]
# Microsoft Certificate Template (for ZATCA compatibility)
# OID: 1.3.6.1.4.1.311.20.2 (Microsoft Certificate Template)
1.3.6.1.4.1.311.20.2 = ASN1:UTF8String:PREZATCA-Code-Signing
# Subject Alternative Name with exact ZATCA DirectoryName format
subjectAltName = @alt_names
[alt_names]
# DirectoryName with ZATCA-specific fields
dirName.1 = zatca_section
[zatca_section]
# Serial Number (SN) - EGS Serial Number
SN = ${this.escapeOpenSSL(egsSerialNumber)}
# User ID (UID) - Organization Identifier (VAT number)
UID = ${this.escapeOpenSSL(input['csr.organization.identifier'])}
# Title - Invoice Type (hardcoded as 1100)
title = 1100
# Registered Address - Location
registeredAddress = ${this.escapeOpenSSL(input['csr.location.address'])}
# Business Category - Industry
businessCategory = ${this.escapeOpenSSL(input['csr.industry.business.category'])}
'csr.common.name': 'ABCD',
'csr.serial.number': this.generateEgsSerialNumber(),
'csr.organization.identifier': '3000xxxxxxxx00003',
'csr.organization.unit.name': 'Riyadh Branch',
'csr.organization.name': 'ABCD',
'csr.country.name': 'SA',
'csr.invoice.type': '1100', // 1100
'csr.location.address': 'RRRD0000',
'csr.industry.business.category': 'Software Solution',
Kindly i need your support for this issue.