I used POSTMAN and
I got the final CSID and I’m ready
now I want to use oracle pl/sql or Js
Basic auth … OK
headers V2,EN … OK
body raw/JSON …
{
“invoiceHash”: “kkkkkkkkkkkkkk=”, // is that must generate with every invoice???
“uuid”: “xxxxxxxxxxxxxx”, // is that must generate with every invoice???
“invoice”: “Ppppppppppppppppppppppp”
} I made it by xml then encode to base64 … OK
Dear @Wmoheb ,
Thank you for reaching out,
Kindly find the response of your inquires below:-
-
invoiceHash": Must it be generated with every invoice?
Yes, For the first invoice, it must be “0” and for subsequent invoices, it must contain the hash of the previous invoice XML before base64 encoding. -
“uuid”: Must it be generated with every invoice?
Yes,The uuid is required for each invoice and must be unique. -
“invoice”: Base64 of the XML?
Yes, the “invoice” field must contain the Base64-encoded XML invoice that conforms to ZATCA’s e-invoicing XML schema.
Thanks
Thank you very much
from your name it seems you are Arabic so can I speak Arabic ?