Error when trying to get the compliance ID for sandbox enviroment through command prompt

Dears ,

I’m trying to generate the compliance ID through command prompt by using this code :
curl -X POST “Zatca” ^
-H “accept: application/json” ^
-H “OTP: your_otp_here” ^
-H “Content-Type: application/json” ^
-d “{"csr":"MIIBRzCB7wIBADCBjzETMBEGA1UEAwwKRUdTVW5pdDAwMTEjMCEGA1UEBRMaMUFCQ0NvbXBhbnkydjEwMzEyMzQ1Njc4OTAxHzAdBgoJkiaJk/IsZAEBDA8zMDAwNDM5NTgzMDAwMDMxFjAUBgNVBAoMDUFCQ0NvbXBhbnlMdGQxCzAJBgNVBAYTAlNBMQ0wCwYDVQQPDAQxMTAwMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE+72+LhdvHAozdbTbvqSQtBEzJ64HAw+XYCn/B312ffswLYcqaNWKf8nfk4nSA6oNwAjq6ut0OkcNtvUx1FXznaAAMAoGCCqGSM49BAMCA0cAMEQCIDaC50u+UeOwpsgK6fnY6Orei5BRQn5UyS/x263ve68aAiBesqyD0eS7/dV5/upi7STwGtZCstC4j9ZB8Wc9pzJ/jA=="}”

But it’s not working , am i missing something here ?

Dear @Hadi
I see you missed a lot of things in the code you provided. You forgot the OTP part, API url and it looks like your CSR is not in the recommended format. You also didn’t mention what error you are getting.

You can try this code to get CCSID from Sandbox.

curl -X POST ^
-H "Content-Type: application/json" ^
-H "Accept: application/json" ^
-H "Accept-Language: en" ^
-H "OTP: 12345" ^
-H "Accept-Version: V2" ^
-d "{\"csr\":\"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0NCk1JSUNkakNDQWh3Q0FRQXdnZFF4Q3pBSkJnTlZCQVlUQWxOQk1SNHdIQVlEVlFRTERCWFlwOW1FMkxIWml0aW4NCjJMWWdmQ0JTYVhsaFpHZ3hlREIyQmdOVkJBb01iOWkwMkxIWmc5aXBJTmlxMllqWXNkbUsySzhnMktmWmhOaXENCjJZUFpodG1JMllUWmlOaXMyWXJZcHlEWXFOaWoyW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Dear @eCloud

Thank you for your reply and assistance . it’s highly appriciated .

i have modified my code to be like this :

curl -X POST ^
-H "Content-Type: application/json" ^
-H "Accept: application/json" ^
-H "Accept-Language: en" ^
-H "OTP: 12345" ^
-H "Accept-Version: V2" ^
-d "{\"csr\":\"MIIBRzCB7wIBADCBjzETMBEGA1UEAwwKRUdTVW5pdDAwMTEjMCEGA1UEBRMaMUFCQ0NvbXBhbnkydjEwMzEyMzQ1Njc4OTAxHzAdBgoJkiaJk/IsZAEBDA8zMDAwNDM5NTgzMDAwMDMxFjAUBgNVBAoMDUFCQ0NvbXBhbnlMdGQxCzAJBgNVBAYTAlNBMQ0wCwYDVQQPDAQxMTAwMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE+72+LhdvHAozdbTbvqSQtBEzJ64HAw+XYCn/B312ffswLYcqaNWKf8nfk4nSA6oNwAjq6ut0OkcNtvUx1FXznaAAMAoGCCqGSM49BAMCA0cAMEQCIDaC50u+UeOwpsgK6fnY6Orei5BRQn5UyS/x263ve68aAiBesqyD0eS7/dV5/upi7STwGtZCstC4j9ZB8Wc9pzJ/jA==\"}" ^
"https://gw-fatoora.zatca.gov.sa/e-invoicing/developer-portal/compliance"

Basically , it’s the same as yours i just changed the csr to be as mine . now i’m getting the error : invalid request .

1- Generated the private key using openssl using the follwoing code :

openssl ecparam -name secp256k1 -genkey -noout -out PrivateKey.pem

2- Generated the public key using openssl using this code :

openssl ec -in YourPrivateKey.pem -pubout -out PublicKey.pem

3- Generate the csr using openssl using this code :

openssl req -new -sha256 -key PrivateKey.pem -out CSR.csr -config ConfigFile.cnf

and this is the contect of the configfile :

[ req ]
default_bits = 256
default_md = sha256
prompt = no
encrypt_key = no
distinguished_name = dn

[ dn ]
CN = EGSUnit001
serialNumber = 1ABCCompany2v1031234567890
UID = 300043958300003
O = ABCCompanyLtd
C = SA
businessCategory = 1100

Where did i go wrong here ?

Thanks in advance and have a great day !
Hadi

I’m not very familiar with openssl, maybe this way (using the provided .NET SDK) will be much easier to understand.

This how we can create CSR using .Net SDK

Download SDK
goto Zatca
Extract downloaded file to Directory C:\

Copy file
C:\zatca-einvoicing-sdk-238-R3.3.3\Data\Input\csr-config-example-EN.properties
to
C:\zatca-einvoicing-sdk-238-R3.3.3\Lib.Net\csr-config-example-EN.properties

Edit file content using Notepad, and save.

csr.common.name=TST-886431145-399999999900003
csr.serial.number=1-TST|2-TST|3-ed22f1d8-e6a2-1118-9b58-d9a8f11e445f
csr.organization.identifier=399999999900003
csr.organization.unit.name=Riyadh Branch
csr.organization.name=Maximum Speed Tech Supply LTD
csr.country.name=SA
csr.invoice.type=1100
csr.location.address=RRRD2929
csr.industry.business.category=Supply activities

Rename edited file csr-config-example-EN.properties to csr.config

Open Terminal Command Prompt

cd \
cd C:\zatca-einvoicing-sdk-238-R3.3.3\Lib\.Net\Test

fatooranet.exe csr -csrConfig ..\csr.config -generatedCsr ..\cert.csr -privateKey ..\ec-secp256k1-priv-key.pem -nonprod true

this command will generate 2 file

C:\zatca-einvoicing-sdk-238-R3.3.3\Lib.Net\cert.csr
C:\zatca-einvoicing-sdk-238-R3.3.3\Lib.Net\ec-secp256k1-priv-key.pem

use cert.csr content (open with notepad) as csr data to get CCSID.

hope this help

Thanks again @eCloud ,

Did the same exact steps and got this as the cert.pem

LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0NCk1JSUNGVENDQWJzQ0FRQXdjVEVMTUFrR0ExVUVCaE1DVTBFeEZqQVVCZ05WQkFzTURVcGxaR1JoYUNCQ2NtRnUNClkyZ3hJakFnQmdOVkJBb01HVWh2ZFhObElHOW1JRkpoZVhNZ1RXVmthV05oYkNCRGJ5NHhKakFrQmdOVkJBTU0NCkhWUlRWQzA0T0RZME16RXhORFV0TXpFd09ETTBOelF4T0RBd01EQXpNRll3RUFZSEtvWkl6ajBDQVFZRks0RUUNCkFBb0RRZ0FFWjJkRWptOUZyRmZJaUpwdElYS1ZpRXFNaWNBYXNsTC9FNytWV3B1U2k4ZVMyM3FuZzNTeUd1ZHINClNTSlRqanFySUw4ekd0N3d3WEdyVDFsNWtIYm82NkNCNmpDQjV3WUpLb1pJaHZjTkFRa09NWUhaTUlIV01DUUcNCkNTc0dBUVFCZ2pjVUFnUVhFeFZVVTFSYVFWUkRRUzFEYjJSbExWTnBaMjVwYm1jd2dhMEdBMVVkRVFTQnBUQ0INCm9xU0JuekNCbkRFN01Ea0dBMVVFQkF3eU1TMVVVMVI4TWkxVVUxUjhNeTFsWkRJeVpqRmtPQzFsTm1FeUxURXgNCk1UZ3RPV0kxT0Mxa09XRTRaakV4WlRRME5XWXhIekFkQmdvSmtpYUprL0lzWkFFQkRBOHpNVEE0TXpRM05ERTQNCk1EQXdNRE14RFRBTEJnTlZCQXdNQkRFeE1EQXhFVEFQQmdOVkJCb01DRkpTVWtReU9USTVNUm93R0FZRFZRUVANCkRCRlRkWEJ3YkhrZ1lXTjBhWFpwZEdsbGN6QUtCZ2dxaGtqT1BRUURBZ05JQURCRkFpQit6WG1LL0hlQzF2bVMNCmxpUDVJdjY1NkxQY1ozSmZpZWRXQ0FhMUxOZUFWUUloQU12a2VEeXVlTTlwYkRmZ05FVncyRitsWXRPTFU4bmENCm1DelJrMVRKa0E5dg0KLS0tLS1FTkQgQ0VSVElGSUNBVEUgUkVRVUVTVC0tLS0tDQo=

modifed the code and changed the csr to be like this :

curl -X POST ^
-H "Content-Type: application/json" ^
-H "Accept: application/json" ^
-H "Accept-Language: en" ^
-H "OTP: 12345" ^
-H "Accept-Version: V2" ^
-d "{\"csr\":\"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0NCk1JSUNGVENDQWJzQ0FRQXdjVEVMTUFrR0ExVUVCaE1DVTBFeEZqQVVCZ05WQkFzTURVcGxaR1JoYUNCQ2NtRnUNClkyZ3hJakFnQmdOVkJBb01HVWh2ZFhObElHOW1JRkpoZVhNZ1RXVmthV05oYkNCRGJ5NHhKakFrQmdOVkJBTU0NCkhWUlRWQzA0T0RZME16RXhORFV0TXpFd09ETTBOelF4T0RBd01EQXpNRll3RUFZSEtvWkl6ajBDQVFZRks0RUUNCkFBb0RRZ0FFWjJkRWptOUZyRmZJaUpwdElYS1ZpRXFNaWNBYXNsTC9FNytWV3B1U2k4ZVMyM3FuZzNTeUd1ZHINClNTSlRqanFySUw4ekd0N3d3WEdyVDFsNWtIYm82NkNCNmpDQjV3WUpLb1pJaHZjTkFRa09NWUhaTUlIV01DUUcNCkNTc0dBUVFCZ2pjVUFnUVhFeFZVVTFSYVFWUkRRUzFEYjJSbExWTnBaMjVwYm1jd2dhMEdBMVVkRVFTQnBUQ0INCm9xU0JuekNCbkRFN01Ea0dBMVVFQkF3eU1TMVVVMVI4TWkxVVUxUjhNeTFsWkRJeVpqRmtPQzFsTm1FeUxURXgNCk1UZ3RPV0kxT0Mxa09XRTRaakV4WlRRME5XWXhIekFkQmdvSmtpYUprL0lzWkFFQkRBOHpNVEE0TXpRM05ERTQNCk1EQXdNRE14RFRBTEJnTlZCQXdNQkRFeE1EQXhFVEFQQmdOVkJCb01DRkpTVWtReU9USTVNUm93R0FZRFZRUVANCkRCRlRkWEJ3YkhrZ1lXTjBhWFpwZEdsbGN6QUtCZ2dxaGtqT1BRUURBZ05JQURCRkFpQit6WG1LL0hlQzF2bVMNCmxpUDVJdjY1NkxQY1ozSmZpZWRXQ0FhMUxOZUFWUUloQU12a2VEeXVlTTlwYkRmZ05FVncyRitsWXRPTFU4bmENCm1DelJrMVRKa0E5dg0KLS0tLS1FTkQgQ0VSVElGSUNBVEUgUkVRVUVTVC0tLS0tDQo="}" ^
"https://gw-fatoora.zatca.gov.sa/e-invoicing/developer-portal/compliance"

now getting this error :
curl: (2) no URL specified
curl: try ‘curl --help’ for more information

Any advice

You are missing backslash here ....DQo=\"}" ^

curl -X POST ^
-H "Content-Type: application/json" ^
-H "Accept: application/json" ^
-H "Accept-Language: en" ^
-H "OTP: 12345" ^
-H "Accept-Version: V2" ^
-d "{\"csr\":\"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VEUgUkVRVUVTVC0tLS0tDQo=\"}" ^
"https://gw-fatoora.zatca.gov.sa/e-invoicing/developer-portal/compliance"

Great , it worked like a charm . thank you very much .

After i got the CCSID , i should start signing the invoice .

i should be using this code rihgt :

fatoora -sign -invoice Standard_Invoice.xml -signedinvoice Signed_Standard_Invoice.xml -csr CSR.csr -privatekey ec-secp256k1-priv-key.pem

for the .csr file , should i just rename the cert.pem to CSR.csr ?

@Hadi,

I have edit my step to generate csr and private key. i change cert.pem to cert.csr

For Signing Document

Get PCSID using encodedBase64 CCSIDBinaryToken:Secret for Basic Authorization, and CCSID Request ID as Payload.

Decode PCSID BinaryToken, and save content to file with name Cert.pem

open Terminal CommandPrompt

fatooranet sign -invoice ..\Standard_Invoice_20240730181038.xml -signedInvoice ..\Signed_Invoice_20240730181038.xml -certificate ..\Cert.pem -privateKey ..\ec-secp256k1-priv-key.pem

Hi @eCloud ,

Thank you very much for the valued support . and sorry for my repeated questions .

How can i encodedBase64 the CCSIDBinaryToken:Secret and then decode the PCSID BinaryToken . what is the best way .

Thanks

@eCloud

i managed to decode and encode using powershell using these codes :

$pcsid = "Your_PCSID_Here"
$secret = "Your_Secret_Here"
$pair = "${pcsid}:${secret}"
$encodedCredentials = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes($pair))

and for decoding :

$binarySecurityToken = "Your_Binary_Security_Token_Here"
$decodedContent = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($binarySecurityToken))
$decodedContent | Out-File -FilePath "Cert.pem"

also managted to sign the invoice and get the invoice hash .

Next step is to clear the invoice right ? what API call should be used .

Thanks again and highly appriciated your professional replies .

API Integration Sandbox

@eCloud
Can you help me with the Curl code .

Thanks again

You can get all curl from SwagerUI, just try

and Execute

Use PCSIDSecurityBynaryToken and Secret for Basic Authorization Header

@eCloud
Thanks for explaining , now i know how to get any curl url .

one last thing , i understood all required parameters except for UUID . What is that and how to get it ?

Not really sure, but UUID should be the Unique Key to mark the invoice you send to the server. You can make it yourself.

Powershell Command

[guid]::NewGuid().ToString()

I think you should read more about the Guide or Educational library provided by Zatca.

@eCloud

Got it ,
This code should be okay but i’m getting error “invoice” not recognized as internal or extarenal command

curl -X POST "https://gw-fatoora.zatca.gov.sa/e-invoicing/developer-portal/invoices/clearance/single" ^
  -H "accept: application/json" ^
  -H "accept-language: en" ^
  -H "Clearance-Status: 1" ^
  -H "Accept-Version: V2" ^
  -H "Authorization: Basic VFVsSlJETnFRME5CTkZOblFYZEpRa0ZuU1ZSRlVVRkJUMEZRUmprd1FXcHpMM2hqV0hkQlFrRkJRVFJCZWtGTFFtZG5jV2hyYWs5UVVWRkVRV3BDYVUxU1ZYZEZkMWxMUTFwSmJXbGFVSGxNUjFGQ1IxSlpSbUpIT1dwWlYzZDRSWHBCVWtKbmIwcHJhV0ZLYXk5SmMxcEJSVnBHWjA1dVlqTlplRVo2UVZaQ1oyOUthMmxoU21zdlNYTmFRVVZhUm1ka2JHVklVbTVaV0hBd1RWSnpkMGRSV1VSV1VWRkVSWGhLVVZWc2NFWlRWVFZYVkRCc1JGSldUa1JSVkZGMFVUQkZkMGhvWTA1TmFsRjNUVlJGZUUxRWEzaFBWRTEzVjJoalRrMXFhM2ROVkVFMVRVUnJlRTlVVFhkWGFrSXhUVkZ6ZDBOUldVUldVVkZIUlhkS1ZGRlVSVzFOUTFGSFFURlZSVU5vVFdSVVYwWTBZVmN4TVdKVFFsUmpSMVpzV2tOQ1ZWcFhUbTlKUms0eFkwaENjMlZUUWsxV1JWRjRSbXBCVlVKblRsWkNRWE5VUkZaS2NHVlhSbXRoUTBKRFkyMUdkVmt5WjNoS2FrRnJRbWRPVmtKQlRWUklWbEpVVmtNd05FOUVXVEJOZWtWNFRrUlZkRTE2YXpWUFZHczFUMVJyTlU5VVFYZE5SRUY2VFVaWmQwVkJXVWhMYjFwSmVtb3dRMEZSV1VaTE5FVkZRVUZ2UkZGblFVVnZWME5MWVRCVFlUbEdTVVZ5VkU5Mk1IVkJhME14VmtsTFdI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25hdHVyZUlEPg0KICAgICAgICAgICAgICAgICAgICA8ZHM6U2lnbmF0dXJlIElkPSJzaWduYXR1cmUiIHhtbG5zOmRzPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjIj4NCiAgICAgICAgICAgICAgICAgICAgICAgIDxkczpTaWduZWRJbmZvPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkczpDYW5vbmljYWxpemF0aW9uTWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwNi8xMi94bWwtYzE0bjExIiAvPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkczpTaWduYXR1cmVNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNlY2RzYS1zaGEyNTYiIC8+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRzOlJlZmVyZW5jZSBJZD0iaW52b2ljZVNpZ25lZERhdGEiIFVSST0iIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRzOlRyYW5zZm9ybXM+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZHM6VHJhbnNmb3JtIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvVFIvMTk5OS9SRUMteHBhdGgtMTk5OTExMTYiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkczpYUGF0aD5ub3QoLy9hbmNlc3Rvci1vci1zZWxmOjpleHQ6VUJMRXh0ZW5zaW9ucyk8L2RzOlhQYXRoPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kczpUcmFuc2Zvcm0+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZHM6VHJhbnNmb3JtIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvVFIvMTk5OS9SRUMteHBhdGgtMTk5OTExMTYiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkczpYUGF0aD5ub3QoLy9hbmNlc3Rvci1vci1zZWxmOjpjYWM6U2lnbmF0dXJlKTwvZHM6WFBhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2RzOlRyYW5zZm9ybT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkczpUcmFuc2Zvcm0gQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy9UUi8xOTk5L1JFQy14cGF0aC0xOTk5MTExNiI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRzOlhQYXRoPm5vdCgvL2FuY2VzdG9yLW9yLXNlbGY6OmNhYzpBZGRpdGlvbmFsRG9jdW1lbnRSZWZlcmVuY2VbY2JjOklEPSdRUiddKTwvZHM6WFBhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2RzOlRyYW5zZm9ybT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkczpUcmFuc2Zvcm0gQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDA2LzEyL3htbC1jMTRuMTEiIC8+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZHM6VHJhbnNmb3Jtcz4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRzOkRpZ2VzdE1ldGhvZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMDQveG1sZW5jI3NoYTI1NiIgLz4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRzOkRpZ2VzdFZhbHVlPmYrMFdDcW5Qa0luSStlTDlHM0xBcnkxMmZUUGYrdG9DOVVYMDdGNGZJK3M9PC9kczpEaWdlc3RWYWx1ZT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2RzOlJlZmVyZW5jZT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZHM6UmVmZXJlbmNlIFR5cGU9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDkveG1sZHNpZyNTaWduYXR1cmVQcm9wZXJ0aWVzIiBVUkk9IiN4YWRlc1NpZ25lZFByb3BlcnRpZXMiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZHM6RGlnZXN0TWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS8wNC94bWxlbmMjc2hhMjU2IiAvPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZHM6RGlnZXN0VmFsdWU+WVdRMllqVTFaVGMwTlRJeU9UQmhNRGhtWXprek9ETXdZemcwTmpKaVpEbGxaV0prTkRjeU5tRXhNbUl5Tmpjd05USTBOVEZoT0dJMlpXUXpPRGswT0E9PTwvZHM6RGlnZXN0VmFsdWU+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kczpSZWZlcmVuY2U+DQogICAgICAgICAgICAgICAgICAgICAgICA8L2RzOlNpZ25lZEluZm8+DQogICAgICAgICAgICAgICAgICAgICAgICA8ZHM6U2lnbmF0dXJlVmFsdWU+TUVZQ0lRRGUxQml0b083VFIvdWVIdHBZcTFadHJ1ekM4V21KSGx4eThKVFFHcGJjS0FJaEFLanV1ZmxpYUNCeWEySDNTNU4wVzdJaHdFZDJoQXlwMGRSL2oxY3VyZ0FnPC9kczpTaWduYXR1cmVWYWx1ZT4NCiAgICAgICAgICAgICAgICAgICAgICAgIDxkczpLZXlJbmZvPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkczpYNTA5RGF0YT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRzOlg1MDlDZXJ0aWZpY2F0ZT5NSUlEM2pDQ0E0U2dBd0lCQWdJVEVRQUFPQVBGOTBBanMveGNYd0FCQUFBNEF6QUtCZ2dxaGtqT1BRUURBakJpTVJVd0V3WUtDWklt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ICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8eGFkZXM6U2lnbmVkU2lnbmF0dXJlUHJvcGVydGllcz4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8eGFkZXM6U2lnbmluZ1RpbWU+MjAyNC0wOC0xNFQxNTo1NjoyNDwveGFkZXM6U2lnbmluZ1RpbWU+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHhhZGVzOlNpZ25pbmdDZXJ0aWZpY2F0ZT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHhhZGVzOkNlcnQ+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8eGFkZXM6Q2VydERpZ2VzdD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZHM6RGlnZXN0TWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS8wNC94bWxlbmMjc2hhMjU2IiAvPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkczpEaWdlc3RWYWx1ZT5NRE15TnpObVptWm1ZMkl5T0RGaVpUWm1OV1kwWW1ReE9UazFNemMxWldNd09ESmtOalJqTURBeU56aGpaV1UxWW1NMVlqUTJaREkzT0RGallqTmhaQT09PC9kczpEaWdlc3RWYWx1ZT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwveGFkZXM6Q2VydERpZ2VzdD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx4YWRlczpJc3N1ZXJTZXJpYWw+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRzOlg1MDlJc3N1ZXJOYW1lPkNOPVBSWkVJTlZPSUNFU0NBNC1DQSwgREM9ZXh0Z2F6dCwgREM9Z292LCBEQz1sb2NhbDwvZHM6WDUwOUlzc3Vlck5hbWU+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRzOlg1MDlTZXJpYWxOdW1iZXI+Mzc5MTEyNzQyODMxMzgwNDcxODM1MjYzOTY5NTg3Mjg3NjYzNTIwNTI4Mzg3PC9kczpYNTA5U2VyaWFsTnVtYmVyPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC94YWRlczpJc3N1ZXJTZXJpYWw+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwveGFkZXM6Q2VydD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3hhZGVzOlNpZ25pbmdDZXJ0aWZpY2F0ZT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwveGFkZXM6U2lnbmVkU2lnbmF0dXJlUHJvcGVydGllcz4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC94YWRlczpTaWduZWRQcm9wZXJ0aWVzPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwveGFkZXM6UXVhbGlmeWluZ1Byb3BlcnRpZXM+DQogICAgICAgICAgICAgICAgICAgICAgICA8L2RzOk9iamVjdD4NCiAgICAgICAgICAgICAgICAgICAgPC9kczpTaWduYXR1cmU+DQogICAgICAgICAgICAgICAgPC9zYWM6U2lnbmF0dXJlSW5mb3JtYXRpb24+DQogICAgICAgICAgICA8L3NpZzpVQkxEb2N1bWVudFNpZ25hdHVyZXM+DQogICAgICAgIDwvZXh0OkV4dGVuc2lvbkNvbnRlbnQ+DQogICAgPC9leHQ6VUJMRXh0ZW5zaW9uPg0KPC9leHQ6VUJMRXh0ZW5zaW9ucz4NCiAgICANCiAgICA8Y2JjOlByb2ZpbGVJRD5yZXBvcnRpbmc6MS4wPC9jYmM6UHJvZ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Y2FjOkNsYXNzaWZpZWRUYXhDYXRlZ29yeT4NCiAgICAgICAgPC9jYWM6SXRlbT4NCiAgICAgICAgPGNhYzpQcmljZT4NCiAgICAgICAgICAgIDxjYmM6UHJpY2VBbW91bnQgY3VycmVuY3lJRD0iU0FSIj4yLjAwPC9jYmM6UHJpY2VBbW91bnQ+DQogICAgICAgICAgICA8Y2FjOkFsbG93YW5jZUNoYXJnZT4NCiAgICAgICAgICAgICAgIDxjYmM6Q2hhcmdlSW5kaWNhdG9yPnRydWU8L2NiYzpDaGFyZ2VJbmRpY2F0b3I+DQogICAgICAgICAgICAgICA8Y2JjOkFsbG93YW5jZUNoYXJnZVJlYXNvbj5kaXNjb3VudDwvY2JjOkFsbG93YW5jZUNoYXJnZVJlYXNvbj4NCiAgICAgICAgICAgICAgIDxjYmM6QW1vdW50IGN1cnJlbmN5SUQ9IlNBUiI+MC4wMDwvY2JjOkFtb3VudD4NCiAgICAgICAgICAgIDwvY2FjOkFsbG93YW5jZUNoYXJnZT4NCiAgICAgICAgPC9jYWM6UHJpY2U+DQogICAgPC9jYWM6SW52b2ljZUxpbmU+DQo8L0ludm9pY2U+
"\}"

I have encoded the signed invoice in Base64

am i missing something here ?

Maybe it’s due to character limitations on the in PowerShell command line or CommandPrompt command line.

there was backslashes missing as usual lol . bad habit i guess .
here is the corrected one :

curl -X POST "https://gw-fatoora.zatca.gov.sa/e-invoicing/developer-portal/invoices/clearance/single" ^
  -H "accept: application/json" ^
  -H "accept-language: en" ^
  -H "Clearance-Status: 1" ^
  -H "Accept-Version: V2" ^
  -H "Authorization: Basic VFVsSlJETnFRME5CTkZOblFYZEpRa0ZuU1ZSRlVVRkJUMEZRUmprd1FXcHpMM2hqV0hkQlFrRkJRVFJCZWtGTFFtZG5jV2hyYWs5UVVWRkVRV3BDYVUxU1ZYZEZkMWxMUTFwSmJXbGFVSGxNUjFGQ1IxSlpSbUpIT1dwWlYzZDRSWHBCVWtKbmIwcHJhV0ZLYXk5SmMxcEJSVn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VowMUNRVVJRVTNwdFpESjFhVkJLUVRablMxSXpURVV3TTFVM05XVnhZa012Y2xoQlBUMD06Q2tZc0VYZlY4YzFnRkhBdEZXb1p2NzNwR012aC9ReW80THpLTTJoLzhIZz0=" ^
  -H "Content-Type: application/json" ^
  -d "{\"invoiceHash\":\"f+0WCqnPkInI+eL9G3LAry12fTPf+toC9UX07F4fI+s=\",\"uuid\":\"8d487816-70b8-4ade-a618-9d620b73814a\",\"invoice\":\"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxJbnZvaWNlIHhtbG5zPSJ1cm46b2FzaXM6bmFtZXM6c3BlY2lmaWNhdGlvbjp1Ymw6c2NoZW1hOnhzZDpJbnZvaWNlLTIiIHhtbG5zOmNhYz0idXJuOm9hc2lzOm5hbWVzOnNwZWNpZmljYXRpb246dWJsOnNjaGVtYTp4c2Q6Q29tbW9uQWdncmVnYXRlQ29tcG9uZW50cy0yIiB4bWxuczpjYmM9InVybjpvYXNpczpuYW1lczpzcGVjaWZpY2F0aW9uOnVibDpzY2hlbWE6eHNkOkNvbW1vbkJhc2ljQ29tcG9uZW50cy0yIiB4bWxuczpleHQ9InVybjpvYXNpczpuYW1lczpzcGVjaWZpY2F0aW9uOnVibDpzY2hlbWE6eHNkOkNvbW1vbkV4dGVuc2lvbkNvbXBvbmVudHMtMiI+PGV4dDpVQkxFeHRlbnNpb25zPg0KICAgIDxleHQ6VUJMRXh0ZW5zaW9uPg0KICAgICAgICA8ZXh0OkV4dGVuc2lvblVSST51cm46b2FzaXM6bmFtZXM6c3BlY2lmaWNhdGlvbjp1Ymw6ZHNpZzplbnZlbG9wZWQ6eGFkZXM8L2V4dDpFeHRlbnNpb25VUkk+DQogICAgICAgIDxleHQ6RXh0ZW5zaW9uQ29udGVudD4NCiAgICAgICAgICAgIDxzaWc6VUJMRG9jdW1lbnRTaWduYXR1cmVzIHhtbG5zOnNpZz0idXJuOm9hc2lzOm5hbWVzOnNwZWNpZm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1zaGEyNTYiIC8+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRzOlJlZmVyZW5jZSBJZD0iaW52b2ljZVNpZ25lZERhdGEiIFVSST0iIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRzOlRyYW5zZm9ybXM+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZHM6VHJhbnNmb3JtIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvVFIvMTk5OS9SRUMteHBhdGgtMTk5OTExMTYiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkczpYUGF0aD5ub3QoLy9hbmNlc3Rvci1vci1zZWxmOjpleHQ6VUJMRXh0ZW5zaW9ucyk8L2RzOlhQYXRoPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kczpUcmFuc2Zvcm0+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZHM6VHJhbnNmb3JtIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvVFIvMTk5OS9SRUMteHBhdGgtMTk5OTExMTYiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkczpYUGF0aD5ub3QoLy9hbmNlc3Rvci1vci1zZWxmOjpjYWM6U2lnbmF0dXJlKTwvZHM6WFBhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2RzOlRyYW5zZm9ybT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkczpUcmFuc2Zvcm0gQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy9UUi8xOTk5L1JFQy14cGF0aC0xOTk5MTExNiI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRzOlhQYXRoPm5vdCgvL2FuY2VzdG9yLW9yLXNlbGY6OmNhYzpBZGRpdGlvbmFsRG9jdW1lbnRSZWZlcmVuY2VbY2JjOklEPSdRUiddKTwvZHM6WFBhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2RzOlRyYW5zZm9ybT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkczpUcmFuc2Zvcm0gQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDA2LzEyL3htbC1jMTRuMTEiIC8+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZHM6VHJhbnNmb3Jtcz4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRzOkRpZ2VzdE1ldGhvZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMDQveG1sZW5jI3NoYTI1NiIgLz4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRzOkRpZ2VzdFZhbHVlPmYrMFdDcW5Qa0luSStlTDlHM0xBcnkxMmZUUGYrdG9DOVVYMDdGNGZJK3M9PC9kczpEaWdlc3RWYWx1ZT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2RzOlJlZmVyZW5jZT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZHM6UmVmZXJlbmNlIFR5cGU9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDkveG1sZHNpZyNTaWduYXR1cmVQcm9wZXJ0aWVzIiBVUkk9IiN4YWRlc1NpZ25lZFByb3BlcnRpZXMiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZHM6RGlnZXN0TWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS8wNC94bWxlbmMjc2hhMjU2IiAvPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZHM6RGlnZXN0VmFsdWU+WVdRMllqVTFaVGMwTlRJeU9UQmhNRGhtWXprek9ETXdZemcwTmpKaVpEbGxaV0prTkRjeU5tRXhNbUl5Tmpjd05USTB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Ld1lCQlFVSEF3SXdDZ1lJS29aSXpqMEVBd0lEU0FBd1JRSWhBTEUvaWNobW5XWENVS1ViY2EzeWNpOG9xd2FMdkZkSFZqUXJ2ZUk5dXFBYkFpQTloQzRNOGpnTUJBRFBTem1kMnVpUEpBNmdLUjNMRTAzVTc1ZXFiQy9yWEE9PQ0KPC9kczpYNTA5Q2VydGlmaWNhdGU+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kczpYNTA5RGF0YT4NCiAgICAgICAgICAgICAgICAgICAgICAgIDwvZHM6S2V5SW5mbz4NCiAgICAgICAgICAgICAgICAgICAgICAgIDxkczpPYmplY3Q+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHhhZGVzOlF1YWxpZnlpbmdQcm9wZXJ0aWVzIFRhcmdldD0ic2lnbmF0dXJlIiB4bWxuczp4YWRlcz0iaHR0cDovL3VyaS5ldHNpLm9yZy8wMTkwMy92MS4zLjIjIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHhhZGVzOlNpZ25lZFByb3BlcnRpZXMgSWQ9InhhZGVzU2lnbmVkUHJvcGVydGllcyI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8eGFkZXM6U2lnbmVkU2lnbmF0dXJlUHJvcGVydGllcz4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8eGFkZXM6U2lnbmluZ1RpbWU+MjAyNC0wOC0xNFQxNTo1NjoyNDwveGFkZXM6U2lnbmluZ1RpbWU+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHhhZGVzOlNpZ25pbmdDZXJ0aWZpY2F0ZT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHhhZGVzOkNlcnQ+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8eGFkZXM6Q2VydERpZ2VzdD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZHM6RGlnZXN0TWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS8wNC94bWxlbmMjc2hhMjU2IiAvPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkczpEaWdlc3RWYWx1ZT5NRE15TnpObVptWm1ZMkl5T0RGaVpUWm1OV1kwWW1ReE9UazFNemMxWldNd09ESmtOalJqTURBeU56aGpaV1UxWW1NMVlqUTJaREkzT0RGallqTmhaQT09PC9kczpEaWdlc3RWYWx1ZT4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwveGFkZXM6Q2VydERpZ2VzdD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx4YWRlczpJc3N1ZXJTZXJpYWw+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRzOlg1MDlJc3N1ZXJOYW1lPkNOPVBSWkVJTlZPSUNFU0NBNC1DQSwgREM9ZXh0Z2F6dCwgREM9Z292LCBEQz1sb2NhbDwvZHM6WDUwOUlzc3Vlck5hbWU+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRzOlg1MDlTZXJpYWxOdW1iZXI+Mzc5MTEyNzQyODMxMzgwNDcxODM1MjYzOTY5NTg3Mjg3NjYzNTIwNTI4Mzg3PC9kczpYNTA5U2VyaWFsTnVtYmVyPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC94YWRlczpJc3N1ZXJTZXJpYWw+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwveGFkZXM6Q2VydD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3hhZGVzOlN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W50IGN1cnJlbmN5SUQ9IlNBUiI+MC4wMDwvY2JjOkFtb3VudD4NCiAgICAgICAgICAgIDwvY2FjOkFsbG93YW5jZUNoYXJnZT4NCiAgICAgICAgPC9jYWM6UHJpY2U+DQogICAgPC9jYWM6SW52b2ljZUxpbmU+DQo8L0ludm9pY2U+\"}"

but now i’m getting bad request 400 .

i think maybe the authorization is the problem here . this is my PCSID :

{"requestID":30368,"tokenType":"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3","dispositionMessage":"ISSUED","binarySecurityToken":"TUlJRDNqQ0NBNFNnQXdJQkFnSVRFUUFBT0FQRjkwQWpzL3hjWHdBQkFBQTRBekFLQmdncWhrak9QUVFEQWpCaU1SVXdFd1lLQ1pJbWlaUHlMR1FCR1JZRmJHOWpZV3d4RXpBUkJnb0praWFKay9Jc1pBRVpGZ05uYjNZeEZ6QVZCZ29Ka2lhSmsvSXNaQUVaRmdkbGVIUm5ZWHAwTVJzd0dRWURWUVFERXhKUVVscEZTVTVXVDBsRFJWTkRRVFF0UTBFd0hoY05NalF3TVRFeE1Ea3hPVE13V2hjTk1qa3dNVEE1TURreE9UTXdXakIxTVFzd0NRWURWUVFHRXdKVFFURW1NQ1FHQTFVRUNoTWRUV0Y0YVcxMWJTQlRjR1ZsWkNCVVpXTm9JRk4xY0hCc2VTQk1WRVF4RmpBVUJnTlZCQXNURFZKcGVXRmthQ0JDY21GdVkyZ3hKakFrQmdOVkJBTVRIVlJUVkMwNE9EWTBNekV4TkRVdE16azVPVGs1T1RrNU9UQXdNREF6TUZZd0VBWUhLb1pJemowQ0FRWUZLNEVFQUFvRFFnQUVvV0NLYTBTYTlGSUVyVE92MHVBa0MxVklLWHhVOW5QcHgydmxmNHloTWVqeThjMDJYSmJsRHE3dFB5ZG84bXEwYWhPTW1Obzhnd25pN1h0MUtUOVVlS09DQWdjd2dnSURNSUd0QmdOVkhSRUVnYVV3Z2FLa2daOHdnWnd4T3pBNUJnTlZCQ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1gFHAtFWoZv73pGMvh/Qyo4LzKM2h/8Hg="}

because

Yes, that’s one of the things you forget, you also have to make sure the Arabic character is written correctly in the invoice content.

This image shows the maximum limitations of the curl command on the CommandPrompt

@eCloud

In this case how can i submit my test invoice to make sure i’m doing things correectly . should i use postman ?

what you advice .

Thanks