UNPKG

einvoicing

Version:

A JavaScript library for creating and parsing electronic invoices compliant with the eInvoicing Directive, EN 16931, and popular extensions

23 lines (22 loc) 602 B
/** * ITax.ts * * @copyright Vitalii Savchuk <esvit666@gmail.com> * @package esvit/einvoicing * @licence MIT https://opensource.org/licenses/MIT */ import CurrencyCode from "../valueObject/CurrencyCode"; import { EntityId } from "../base/EntityId"; export declare class TaxId extends EntityId<string> { readonly TaxId = "tax_id"; constructor(id: string, percent: number); } export interface ITax { id: TaxId; currency?: CurrencyCode; taxableAmount?: number; taxAmount?: number; percent?: number; taxExemptionReason?: string; taxExemptionReasonCode?: string; }