Organisation name with restriction of 64 characters

As per the Excel Data Dictionary, 1000 characters are allowed in the organization Name.

As per Security Features Implementation Standards to the E-Invoicing resolution, The
CSR shall be signed using the private key as a Proof-of-Possession of the private key. Please refer to 2.2.2 Profile specification of the Cryptographic Stamp identifiers.

As per para 2.2.2, The certificate profile complies with X.509 v3 certificates as specified in RFC 5280.

As per RFC 5280, ub-organization-name INTEGER ::= 64 which means that the count of the characters of the organization name should be less than or equal to 64.

There is a mismatch between 1000 characters and 64 characters in the organization name. If we try sending more than 64 characters, we get an SSL error.

Our customer doesn’t want to shorten their company name. Please help.

This is exactly the same issue we are facing. If organization name is long, we are receiving:

{"requestID":-2,"tokenType":null,"dispositionMessage":"NOT_COMPLIANT","binarySecurityToken":null,"errors":["unable to submit and sign the csr in zatca side, caused : Error Parsing Request  The request subject name is invalid or too long. 0x80094001 (-2146877439 CERTSRV_E_BAD_REQUESTSUBJECT)"]}

How to approach the issue without “truncating” the organization name?

@sergei.shishov try providing the name only in one language either Arabic or English, if it fits with in 64 characters then great, otherwise you will have to truncate the name. It will not violate any of requirements as CSR details are only in backend. On the invoice, Accounting Supplier and Customer Party name fields can contain up to 1000 characters.

Thank you @Ankit_Tiwari , could we please add this to the PDF SecurityFeatures document where we describe the subject field of CSR? Currently there is no limit in the documentation which is very confusing, it is just stated Free Text there.

Thank you @sergei.shishov suggestion is well received.