FinOpenPOS
API ReferenceFunctions

attachCancellation()

@finopenpos/fiscal / attachCancellation

function attachCancellation(nfeProcXml, cancelResponseXml): string;

Defined in: complement.ts:130

Attach a cancellation event response to an authorized nfeProc XML. Appends the <retEvento> node inside the <nfeProc> wrapper.

Insere o nó <retEvento> dentro do wrapper <nfeProc>.

Parameters

ParameterTypeDescription

Returns

string

Modified nfeProc XML with retEvento appended

On this page