facturacionelectronicapy-ts-xmlgen
Version:
Genera el contenido del archivo XML del Documento electrónico exigido por la SET
21 lines (20 loc) • 975 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PrintedDocumentType = void 0;
const Table_1 = __importDefault(require("../helpers/Table"));
var PrintedDocumentType;
(function (PrintedDocumentType) {
PrintedDocumentType[PrintedDocumentType["FACTURA"] = 1] = "FACTURA";
PrintedDocumentType[PrintedDocumentType["NOTA_DE_CREDITO"] = 2] = "NOTA_DE_CREDITO";
PrintedDocumentType[PrintedDocumentType["NOTA_DE_DEBITO"] = 3] = "NOTA_DE_DEBITO";
PrintedDocumentType[PrintedDocumentType["NOTA_DE_REMISION"] = 4] = "NOTA_DE_REMISION";
})(PrintedDocumentType || (exports.PrintedDocumentType = PrintedDocumentType = {}));
exports.default = new Table_1.default(['_id', 'description'], [
[1, 'Factura'],
[2, 'Nota de crédito'],
[3, 'Nota de débito'],
[4, 'Nota de remisión'],
]);