FinOpenPOS
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

ParameterTypeDescription

Returns

{
  accessKey: string;
  xml: string;
}

Object with unsigned XML string and 44-digit access key

NameTypeDefined in
accessKeystringxml-builder.ts:34
xmlstringxml-builder.ts:33

On this page