B2B Invoice canonicalization

Regarding the B2B invoices clearance request, Do we need to do sign the invoice before sending it ? And If no, then How we will do the canonicalization for the invoice XML ? (or it is not needed ?)

Dear @EslamMoh ,

please note that for the B2B invoices no need to sign the invoice before submitting it to ZATCA, you only need to generate new hash for it and replace the first “digestvalue” tag in the invoice with the new generated Hash.

Regards,