FinOpenPOS
API ReferenceFunctions

buildBatchEventXml()

@finopenpos/fiscal / buildBatchEventXml

function buildBatchEventXml(options): string;

Defined in: sefaz-request-builders.ts:1077

Build batch event XML (generic, multiple events in one envelope).

Parameters

ParameterType
options{ environment: 1 | 2; eventDateTime: string; events: { accessKey: string; additionalTags?: string; eventType: number; sequenceNumber?: number; }[]; isCpf?: boolean; lotId?: string; stateCode: string; taxId: string; }
options.environment1 | 2
options.eventDateTimestring
options.events{ accessKey: string; additionalTags?: string; eventType: number; sequenceNumber?: number; }[]
options.isCpf?boolean
options.lotId?string
options.stateCodestring
options.taxIdstring

Returns

string

On this page