UNPKG

facturacionelectronicapy-ts-xmlgen

Version:

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

57 lines (56 loc) 2.52 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.PaymentType = void 0; const Table_1 = __importDefault(require("../helpers/Table")); var PaymentType; (function (PaymentType) { PaymentType[PaymentType["EFECTIVO"] = 1] = "EFECTIVO"; PaymentType[PaymentType["CHEQUE"] = 2] = "CHEQUE"; PaymentType[PaymentType["TARJETA_DE_CREDITO"] = 3] = "TARJETA_DE_CREDITO"; PaymentType[PaymentType["TARJETA_DE_DEBITO"] = 4] = "TARJETA_DE_DEBITO"; PaymentType[PaymentType["TRANSFERENCIA"] = 5] = "TRANSFERENCIA"; PaymentType[PaymentType["GIRO"] = 6] = "GIRO"; PaymentType[PaymentType["BILLETERA_ELECTRONICA"] = 7] = "BILLETERA_ELECTRONICA"; PaymentType[PaymentType["TARJETA_EMPRESARIAL"] = 8] = "TARJETA_EMPRESARIAL"; PaymentType[PaymentType["VALE"] = 9] = "VALE"; PaymentType[PaymentType["RETENCION"] = 10] = "RETENCION"; PaymentType[PaymentType["PAGO_POR_ANTICIPO"] = 11] = "PAGO_POR_ANTICIPO"; PaymentType[PaymentType["VALOR_FISCAL"] = 12] = "VALOR_FISCAL"; PaymentType[PaymentType["VALOR_COMERCIAL"] = 13] = "VALOR_COMERCIAL"; PaymentType[PaymentType["COMPENSACION"] = 14] = "COMPENSACION"; PaymentType[PaymentType["PERMUTA"] = 15] = "PERMUTA"; PaymentType[PaymentType["PAGO_BANCARIO"] = 16] = "PAGO_BANCARIO"; PaymentType[PaymentType["PAGO_MOVIL"] = 17] = "PAGO_MOVIL"; PaymentType[PaymentType["DONACION"] = 18] = "DONACION"; PaymentType[PaymentType["PROMOCION"] = 19] = "PROMOCION"; PaymentType[PaymentType["CONSUMO_INTERNO"] = 20] = "CONSUMO_INTERNO"; PaymentType[PaymentType["PAGO_ELECTRONICO"] = 21] = "PAGO_ELECTRONICO"; PaymentType[PaymentType["OTRO"] = 99] = "OTRO"; })(PaymentType || (exports.PaymentType = PaymentType = {})); exports.default = new Table_1.default(['_id', 'description'], [ [1, 'Efectivo'], [2, 'Cheque'], [3, 'Tarjeta de crédito'], [4, 'Tarjeta de débito'], [5, 'Transferencia'], [6, 'Giro'], [7, 'Billetera electrónica'], [8, 'Tarjeta empresarial'], [9, 'Vale'], [10, 'Retención'], [11, 'Pago por anticipo'], [12, 'Valor fiscal'], [13, 'Valor comercial'], [14, 'Compensación'], [15, 'Permuta'], [16, 'Pago bancario'], [17, 'Pago Móvil'], [18, 'Donación'], [19, 'Promoción'], [20, 'Consumo Interno'], [21, 'Pago Electrónico'], [99, 'Otro'], ]);