API ReferenceFunctions
putQRTag()
@finopenpos/fiscal / putQRTag
function putQRTag(params): Promise<string>;Defined in: qrcode.ts:235
Insert QR Code and urlChave tags into a signed NFC-e XML.
Ported from PHP NFePHP\NFe\Factories\QRCode::putQRTag(). Creates an <infNFeSupl> element with <qrCode> and <urlChave> children, and inserts it before the <Signature> element in the NFe.
e insere antes do elemento <Signature> na NFe.
Parameters
| Parameter | Type |
|---|---|
params | PutQRTagParams |
Returns
Promise<string>
Modified XML string with infNFeSupl inserted