UNPKG

facturacionelectronicapy-ts-xmlgen

Version:

Genera el contenido del archivo XML del Documento electrónico exigido por la SET

18 lines (17 loc) 570 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class NotaCreditoDebitoXMLSG { /**E5. Campos que componen la Nota de Crédito/Débito Electrónica NCE-NDE (E400-E499) */ get_gCamNCDE(data) { const notaCreditoDebito = data.notaCreditoDebito; if (!notaCreditoDebito) return; return { // E401 iMotEmi: notaCreditoDebito.motivo, // E402 dDesMotEmi: notaCreditoDebito.motivoDescripcion, }; } } exports.default = new NotaCreditoDebitoXMLSG();