# SDK 3.3.4 validation error

**URL:** <https://zatca1.discourse.group/t/sdk-3-3-4-validation-error/3706>\
**Category:** SDK, web-based validator and sandbox\
**Created:** [October 17, 2024, 9:52pm UTC](https://zatca1.discourse.group/t/sdk-3-3-4-validation-error/3706 "2024-10-17T21:52:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhattiasadlatif](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@bhattiasadlatif](https://zatca1.discourse.group/u/bhattiasadlatif)\
**Post date:** [October 17, 2024, 9:52pm UTC](https://zatca1.discourse.group/t/sdk-3-3-4-validation-error/3706/1 "2024-10-17T21:52:38Z")

</div>

I sign and validate B2C invoice with (.net 4.8) SDK 3.3.3 successfully.

But when updated DLL files from (.net 4.8) SDK 3.3.4 sign result in valid but validation result is showing below error.

“Validate EN Schematrons”,False,[Error] occurred in validating Schematrons.]"  
“Validate KSA Schematrons”,False,[Error] occurred in validating Schematrons.]" any idea what to do?

---

<div class="post-metadata">

**Author:** ![idaoud](https://avatars.discourse-cdn.com/v4/letter/i/f9ae1b/32.png) [@idaoud](https://zatca1.discourse.group/u/idaoud)\
**Post date:** [October 20, 2024, 5:07am UTC](https://zatca1.discourse.group/t/sdk-3-3-4-validation-error/3706/2 "2024-10-20T05:07:51Z")

</div>

Morning @bhattiasadlatif

Thanks for reaching out,

Can I kindly ask you to elaborate more with the exact error from the SDK?

Thanks,  
Ibrahem Daoud.

---

<div class="post-metadata">

**Author:** ![bhattiasadlatif](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@bhattiasadlatif](https://zatca1.discourse.group/u/bhattiasadlatif)\
**Post date:** [October 20, 2024, 6:57am UTC](https://zatca1.discourse.group/t/sdk-3-3-4-validation-error/3706/3 "2024-10-20T06:57:07Z")

</div>

dear @idaoud

i wrote code C# .net 4.8 and use SDK 3.3.3 to sign and validate B2C invoice successfully without any error.

but when i am doing same with SDK 3.3.4 and above, sign result is valid (no error), but validation result is showing below errors.

“Validate EN Schematrons”,False,[Error] occurred in validating Schematrons.]"  
“Validate KSA Schematrons”,False,[Error] occurred in validating Schematrons.]"

Hope you understand my issue, i read many other similar post but still now solution.

---

<div class="post-metadata">

**Author:** ![idaoud](https://avatars.discourse-cdn.com/v4/letter/i/f9ae1b/32.png) [@idaoud](https://zatca1.discourse.group/u/idaoud)\
**Post date:** [October 22, 2024, 10:46am UTC](https://zatca1.discourse.group/t/sdk-3-3-4-validation-error/3706/4 "2024-10-22T10:46:42Z")

</div>

Dear @bhattiasadlatif

Thanks for reaching out,

Can I kindly ask you to tell me the process you did in order to generate the CSR?

Additionally, did you successfully integrate with ZATCA, or not yet?

Thanks,  
Ibrahem Daoud.

---

<div class="post-metadata">

**Author:** ![eCloud](https://dub1.discourse-cdn.com/flex013/user_avatar/zatca1.discourse.group/ecloud/32/629_2.png) [@eCloud](https://zatca1.discourse.group/u/eCloud)\
**Post date:** [October 22, 2024, 1:12pm UTC](https://zatca1.discourse.group/t/sdk-3-3-4-validation-error/3706/5 "2024-10-22T13:12:55Z")

</div>

@idaud,  
Thanks for responding to this issue.

We are using Zatca EInvoice SDK library for Integration, Onboarding, Invoice Signing, Reporting and Clearance all done.

But we are facing a problem in using eInvoice Validator from SDK library.

> “Validate EN Schematrons”,False,[Error] occurred in validating Schematrons.]"  
> “Validate KSA Schematrons”,False,[Error] occurred in validating Schematrons.]"

I don’t think this is a bug, Validation via CLI works without any problem. Maybe we don’t know how to use this library for our project, that’s why we are asking.

SDK 3.3.4, 3.3.5 and 3.3.6 give us the above error. So we ignore validating our invoice before submitting to server.

We hope that the Zatca eInvoice SDK Developer can provide direction, or a Sample Project on how to use the .Net Zatca eInvoice SDK library correctly.

---

<div class="post-metadata">

**Author:** ![bhattiasadlatif](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@bhattiasadlatif](https://zatca1.discourse.group/u/bhattiasadlatif)\
**Post date:** [October 22, 2024, 6:57pm UTC](https://zatca1.discourse.group/t/sdk-3-3-4-validation-error/3706/6 "2024-10-22T18:57:48Z")

</div>

Dear @idaoud ,

I did not get your question, I am using developer mode generating CSR with information in DATA\Input folder, C# with SDK VER before 3.3.4 is working with same CSR signing step & validation steps are valid, but with 3.3.4 sign step are valid but validation steps have error as mentioned.

---

<div class="post-metadata">

**Author:** ![saalotaibi](https://avatars.discourse-cdn.com/v4/letter/s/f9ae1b/32.png) [@saalotaibi](https://zatca1.discourse.group/u/saalotaibi)\
**Post date:** [October 23, 2024, 10:19am UTC](https://zatca1.discourse.group/t/sdk-3-3-4-validation-error/3706/7 "2024-10-23T10:19:25Z")

</div>

Dear,

Kindly let your RM reach out to our SP support team with all the concerns and to schedule a meeting via below email:

E-invoicing@zatca.gov.sa  
sp\_support@zatca.gov.sa

Thanks

---

<div class="post-metadata">

**Author:** ![bhattiasadlatif](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@bhattiasadlatif](https://zatca1.discourse.group/u/bhattiasadlatif)\
**Post date:** [October 28, 2024, 6:39am UTC](https://zatca1.discourse.group/t/sdk-3-3-4-validation-error/3706/8 "2024-10-28T06:39:23Z")

</div>

Dear @eCloud ,

Any success on this issue?

Thanks for your reply in advance.
