UNPKG

@weiliang79/ubl-builder

Version:

Tool to create xml documents with UBL 2.1 standard

63 lines 1.87 kB
import { UdtMeasure, UdtText } from "../types/UnqualifiedDataTypes"; import { UdtAmount } from "../types/UnqualifiedDataTypes/UdtAmount"; import { UdtNumeric } from "../types/UnqualifiedDataTypes/UdtNumeric"; import { UdtPercent } from "../types/UnqualifiedDataTypes/UdtPercent"; import GenericAggregateComponent from "./GenericAggregateComponent"; import { TaxCategory } from "./TaxCategoryTypeGroup"; type AllowedParams = { taxAmount: string | UdtAmount; taxCategory: TaxCategory; taxableAmount?: string | UdtAmount; calculationSequenceNumeric?: string | UdtNumeric; transactionCurrencyTaxAmount?: string | UdtAmount; percent?: string | UdtPercent; baseUnitMeasure?: string | UdtMeasure; perUnitAmount?: string | UdtAmount; tierRange?: string | UdtText; tierRatePercent?: string | UdtPercent; }; /** * */ declare class TaxSubtotal extends GenericAggregateComponent { /** * * @param {AllowedParams} content * @param {string} name */ constructor(content: AllowedParams); /** * * @param {boolean} rawValue */ getTaxableAmount(rawValue?: boolean): any; setTaxableAmount(value: string | UdtAmount): void; /** * * @param {boolean} rawValue * */ getTaxAmount(rawValue?: boolean): any; /** * * @param { UdtAmount | string } value */ setTaxAmount(value: string | UdtAmount): void; /** * * @param {*} rawValue */ getPercent(rawValue?: boolean): any; /** * * @param { UdtPercent | string} value */ setPercent(value: string | UdtPercent): void; /** * * @param {TaxCategory} value */ setTaxCategory(value: TaxCategory): void; getTaxCategory(): TaxCategory; } export { TaxSubtotal, AllowedParams as TaxSubtotalParams }; //# sourceMappingURL=TaxSubtotal.d.ts.map