ZATCA
ZATCA copied to clipboard
ZATCA specifications Phase two
Generating CSR content, based on parameters
$xmlInvoice = 'xml invoice text';
$certificate = new \Salla\ZATCA\Helpers\Certificate(
'certificate plain text (base64 decoded)',
'private key plain text'
);
$invoice = (new InvoiceSign($xmlInvoice, $certificate))->sign();
// invoice Hash: $invoice->getHash()
// invoice signed as XML: $invoice->getInvoice()
// Invoice QR code as base64: $invoice->getQRCode()
@thaifanisalla @salkhwlani When we can expect this PR to be merged 😊?
@thaifanisalla @salkhwlani When we can expect this PR to be merged blush?
as soon...
Are there any steps for using this feature?
@thaifanisalla @salkhwlani Hii, thank you for your great work on this library!
Is this phase 2 branch completed? i mean can it be used till you guys merge it with main branch?
@thaifanisalla @salkhwlani Any update on this PR to be merged soon? or at least can we use this branch separately ourselves?
@thaifanisalla @salkhwlani Day 928329 of asking when this phase two PR will be merged 😄
Thank you all for waiting, we'll prepare the readme this week and release the new version