FinOpenPOS
API ReferenceFunctions

attachB2B()

@finopenpos/fiscal / attachB2B

function attachB2B(
   nfeProcXml, 
   b2bXml, 
   tagB2B?): string;

Defined in: complement.ts:340

Attach a B2B financial tag to an authorized nfeProc XML. Wraps the nfeProc and B2B content in a <nfeProcB2B> element.

Envolve o nfeProc e o conteúdo B2B em um elemento <nfeProcB2B>.

Parameters

ParameterTypeDefault valueDescription

Returns

string

The nfeProcB2B XML string

On this page