Dears,
When we upload more than invoice to the web validator, each invoice is OK, but we have issue with sequence check.
How can we compute the PIH, we tried to use the previous invoice hash, but it did not work out.
Kind Regards,
Abdo
Dears,
When we upload more than invoice to the web validator, each invoice is OK, but we have issue with sequence check.
How can we compute the PIH, we tried to use the previous invoice hash, but it did not work out.
Kind Regards,
Abdo
Dear @ahowbani,
Kindly note that the sequence should follow the generation order not submission order. Moreover, there are no limitations on uploading/sending simplified invoices to ZATCA, it can be uploaded to any order as long as they are generated on a sequence, and the sequence will be validated on the backend, so it’s not a (real-time validation).
Ex: if invoice 1, 2, 3 were generated in a sequence, it can be submitted as invoice 2,1,3.
Thanks
Let’s assume we have the generated invoice request
{
“invoiceHash”: “hjrE1wFirAV76SfmlfsxqQB7M5bM4EFQc6Ql8ylcut0=”,
“uuid”: “b0a514bf-df0f-4a5e-8a79-370d92b63fc8”,
“invoice”: “PD94bWwgdmVyc2lvbj0…”
}
what will be the PIH for the next invoice, shall we set to the same hash of the current invoice “hjrE1wFirAV76SfmlfsxqQB7M5bM4EFQc6Ql8ylcut0=”
Please help?
@halrashidy We are facing an issue regarding ICV and PIH, as we have only one CSID. We send invoices through it, but I was previously counting the ICV based on the invoice type, whether simplified, tax, or credit note. Now, I want to change it based on the CSID.
My questions are:
just store the last invoicehas in a certain place and use it as pih in.the new invoice . the pih is simply the hash of the last invoice sent to zatca