lbx-invoice
Version:
Provides functionality around generating invoices.
32 lines (31 loc) • 930 B
TypeScript
/**
* S = standard rate
* Z = zero rated
* E = tax-exempt
* AE = VAT reverse charge
* K = VAT exempt for EEA intra-community supply of goods and services
* G = Free export item, tax not charged
* O = Services outside scope of tax
* L = Canary Islands general indirect tax
* M = Tax for production, services and importation in Ceuta and Melilla.
*/
export type VatCategoryCode = 'S' | 'Z' | 'E' | 'AE' | 'K' | 'G' | 'O' | 'L' | 'M';
/**
* Contains tax information.
* Consists of the tax rate in percent and a Category Code used for x-rechnung.
*/
export declare class Vat {
/**
* The tax rate in percent.
*/
rate: number;
/**
* The category code used for x-rechnung.
*/
categoryCode: VatCategoryCode | Omit<string, VatCategoryCode>;
/**
* A description for why this is tax exempt.
* Is required when categoryCode is set to 'E'.
*/
exemptionReason?: string;
}