facturacionelectronicapy-ts-xmlgen
Version:
Genera el contenido del archivo XML del Documento electrónico exigido por la SET
35 lines (34 loc) • 1.54 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.TradingCondition = void 0;
const Table_1 = __importDefault(require("../helpers/Table"));
var TradingCondition;
(function (TradingCondition) {
TradingCondition["COSTO_Y_FLETE"] = "CFR";
TradingCondition["COSTO__SEGURO_Y_FLETE"] = "CIF";
TradingCondition["TRANSPORTE_Y_SEGURO_PAGADOS_HASTA"] = "CIP";
TradingCondition["TRANSPORTE_PAGADO_HASTA"] = "CPT";
TradingCondition["ENTREGADA_EN_LUGAR_CONVENIDO"] = "DAP";
TradingCondition["ENTREGADA_EN_TERMINAL"] = "DAT";
TradingCondition["ENTREGADA_DERECHOS_PAGADOS"] = "DDP";
TradingCondition["EN_FABRICA"] = "EXW";
TradingCondition["FRANCO_AL_COSTADO_DEL_BUQUE"] = "FAS";
TradingCondition["FRANCO_TRANSPORTISTA"] = "FCA";
TradingCondition["FRANCO_A_BORDO"] = "FOB";
})(TradingCondition || (exports.TradingCondition = TradingCondition = {}));
exports.default = new Table_1.default(['_id', 'description'], [
['CFR', 'Costo y flete'],
['CIF', 'Costo, seguro y flete'],
['CIP', 'Transporte y seguro pagados hasta'],
['CPT', 'Transporte pagado hasta'],
['DAP', 'Entregada en lugar convenido'],
['DAT', 'Entregada en terminal'],
['DDP', 'Entregada derechos pagados'],
['EXW', 'En fabrica'],
['FAS', 'Franco al costado del buque'],
['FCA', 'Franco transportista'],
['FOB', 'Franco a bordo'],
]);