aljbri / Zatca.Net

dot Net Library that implements the ZATCA (Zakat Tax and Customs Authority) for e-invoicing requirements in Saudi Arabia
GNU Lesser General Public License v2.1
37 stars 19 forks source link

Not Validated With ZATCA SDK #1

Closed ahosainy closed 3 years ago

ahosainy commented 3 years ago

Dear Aljbri ,

Great job thanks for your awesome solution , there was a small issue in the solution but after fixing it every thing went good

it was the ID fixed to 1 , the correction change it to be dynamic as the id parameter
private byte[] getBytes(int id, byte[] Value) { byte[] val = new byte[2 + Value.Length]; val[0] = (byte)id; val[1] = (byte)Value.Length; Value.CopyTo(val, 2); return val; }

aljbri commented 3 years ago

Dear ahosainy, The bug has been fixed. thank you,