@weiliang79/ubl-builder
Version:
Tool to create xml documents with UBL 2.1 standard
35 lines • 1.13 kB
TypeScript
import GenericAggregateComponent from './GenericAggregateComponent';
import { UdtAmount } from '../types/UnqualifiedDataTypes/UdtAmount';
import { UdtIndicator } from '../types/UnqualifiedDataTypes';
import { TaxSubtotal } from './TaxSubtotal';
type AllowedParams = {
taxAmount: string | UdtAmount;
roundingAmount?: string | UdtAmount;
taxEvidenceIndicator?: string | UdtIndicator;
taxSubtotals: TaxSubtotal[];
};
/**
*
*/
declare class TaxTotalType extends GenericAggregateComponent {
/**
* @param {AllowedParams} content
* @param {string} name
*/
constructor(content: AllowedParams);
/**
*
* @param { UdtAmount | string } value
*/
setTaxAmount(value: string | UdtAmount): void;
/**
*
* @param {boolean} raw raw value
*/
getTaxAmount(raw?: boolean): any;
getTaxSubtotals(): TaxSubtotal[];
setTaxSubtotals(taxSubtotals: TaxSubtotal[]): void;
calculateTotalTaxAmount(): any;
}
export { TaxTotalType as TaxTotal, AllowedParams as TaxTotalTypeParams, TaxTotalType as WithholdingTaxTotal };
//# sourceMappingURL=TaxTotalTypeGroup.d.ts.map