facturacionelectronicapy-ts-xmlgen
Version:
Genera el contenido del archivo XML del Documento electrónico exigido por la SET
23 lines (22 loc) • 807 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.TaxType = void 0;
const Table_1 = __importDefault(require("../helpers/Table"));
var TaxType;
(function (TaxType) {
TaxType[TaxType["IVA"] = 1] = "IVA";
TaxType[TaxType["ISC"] = 2] = "ISC";
TaxType[TaxType["RENTA"] = 3] = "RENTA";
TaxType[TaxType["NINGUNO"] = 4] = "NINGUNO";
TaxType[TaxType["IVA___RENTA"] = 5] = "IVA___RENTA";
})(TaxType || (exports.TaxType = TaxType = {}));
exports.default = new Table_1.default(['_id', 'description', 'state'], [
[1, 'IVA', 0],
[2, 'ISC', 1],
[3, 'Renta', 1],
[4, 'Ninguno', 0],
[5, 'IVA - Renta', 0],
]);