wes4m / zatca-xml-js

An implementation of Saudi Arabia ZATCA's E-Invoicing requirements, processes, and standards in TypeScript.
MIT License
72 stars 60 forks source link

Is there anyone successfully integrated this in production? #41

Closed jalibudbud closed 1 year ago

jalibudbud commented 1 year ago

All my testing using this repo even the ones from ZATCA sdk is giving me an error.

Any experiences you've faced so far?

fuadhasni commented 1 year ago

Can you be specific what errors you are referring to? Mind you there is a big gap between Sandbox testing and with real production certificates.

I ended up testing the final round with live invoices on production URLs and then doing credit notes of those invoices. All went well so library works but its not a smooth process to test sandbox and making it live

On Wed, Jun 14, 2023 at 3:04 PM John @.***> wrote:

All my testing using this repo even the ones from ZATCA sdk is giving me an error.

Any experiences you've faced so far?

— Reply to this email directly, view it on GitHub https://github.com/wes4m/zatca-xml-js/issues/41, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPK2CMBLTI5RW5PUJNPPZLXLGEDBANCNFSM6AAAAAAZGDRNO4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ericstgo87 commented 1 year ago

hi @fuadhasni, I'm facing error 500 on /e-invoicing/simulation/production/csids after having passed the 6 documents of the compliance check with no issue, all document passed the validation and I received cleared / reported from zatca for each case. I don't understand why I might get this error. This endpoint only takes the compliance_request_id as a parameter and I have tested with over 20 different OTP the whole process and I always get the same error 500. Any clue?

fuadhasni commented 1 year ago

This endpoint does not work and you will have to create production certificate.

What I did after I was at your stage. I created production certificate after compliance and then tested Clear and Reporting API directly on Production. To nullify the effect for the taxation I did credit notes on whatever invoices I Reported and /or cleared.

On Wed, 28 Jun 2023 at 21:26, Eric Van Boxsom @.***> wrote:

hi @fuadhasni https://github.com/fuadhasni, I'm facing error 500 on /e-invoicing/simulation/production/csids after having passed the 6 documents of the compliance check with no issue, all document passed the validation and I received cleared / reported from zatca for each case. I don't understand why I might get this error. This endpoint only takes the compliance_request_id as a parameter and I have tested with over 20 different OTP the whole process and I always get the same error 500. Any clue?

— Reply to this email directly, view it on GitHub https://github.com/wes4m/zatca-xml-js/issues/41#issuecomment-1611737597, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPK2CJ36HROVWTOCWO2EY3XNRLMRANCNFSM6AAAAAAZGDRNO4 . You are receiving this because you were mentioned.Message ID: @.***>

jalibudbud commented 1 year ago

Agree. Their sandbox will return an error at all due to some certificate issue. But everything is working in production. I've already deployed my EGS in production environment.

Cheers to this repo!