API ReferenceFunctions
buildInvoiceXml()
@finopenpos/fiscal / buildInvoiceXml
function buildInvoiceXml(data): {
accessKey: string;
xml: string;
};Defined in: xml-builder.ts:32
Build a complete NF-e or NFC-e XML (unsigned). The XML follows layout 4.00 as defined by MOC.
Segue o layout 4.00 conforme definido pelo MOC.
Parameters
| Parameter | Type | Description |
|---|
Returns
{
accessKey: string;
xml: string;
}Object with unsigned XML string and 44-digit access key
| Name | Type | Defined in |
|---|---|---|
accessKey | string | xml-builder.ts:34 |
xml | string | xml-builder.ts:33 |