lbx-invoice
Version:
Provides functionality around generating invoices.
37 lines • 1.05 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Vat = void 0;
const tslib_1 = require("tslib");
const repository_1 = require("@loopback/repository");
/**
* Contains tax information.
* Consists of the tax rate in percent and a Category Code used for x-rechnung.
*/
let Vat = class Vat {
};
exports.Vat = Vat;
tslib_1.__decorate([
(0, repository_1.property)({
type: 'number',
required: true
}),
tslib_1.__metadata("design:type", Number)
], Vat.prototype, "rate", void 0);
tslib_1.__decorate([
(0, repository_1.property)({
type: 'string',
required: true
}),
tslib_1.__metadata("design:type", Object)
], Vat.prototype, "categoryCode", void 0);
tslib_1.__decorate([
(0, repository_1.property)({
type: 'string',
required: false
}),
tslib_1.__metadata("design:type", String)
], Vat.prototype, "exemptionReason", void 0);
exports.Vat = Vat = tslib_1.__decorate([
(0, repository_1.model)()
], Vat);
//# sourceMappingURL=vat.model.js.map