Skip to content

open-nfse / buildDpsXml

Function: buildDpsXml()

ts
function buildDpsXml(dps: DPS, options?: BuildDpsXmlOptions): string;

Defined in: src/nfse/build-xml.ts:83

Serializes a typed DPS DTO to canonical XML. Inverse of parseNfseXml's DPS branch. Element order and namespace declarations follow RTC v1.01.

Parameters

ParameterType
dpsDPS
options?BuildDpsXmlOptions

Returns

string

Licença MIT — biblioteca não oficial, sem vínculo com a Receita Federal.