UNPKG

@weiliang79/ubl-builder

Version:

Tool to create xml documents with UBL 2.1 standard

30 lines 1.31 kB
import { UdtAmount, UdtCode, UdtIdentifier, UdtIndicator, UdtText } from "../types/UnqualifiedDataTypes/"; import GenericAggregateComponent from "./GenericAggregateComponent"; import { TaxCategory } from "./TaxCategoryTypeGroup"; type AllowedParams = { /** An identifier for this allowance or charge */ id?: string | UdtIdentifier; /** An indicator that this AllowanceCharge describes a charge (true) or a discount (false) */ chargeIndicator: boolean | UdtIndicator; /** A mutually agreed code signifying the reason for this allowance or charge */ allowanceChargeReasonCode?: string | UdtCode; /** The reason for this allowance or charge */ allowanceChargeReason?: string | UdtText; /** A number by which the base amount is multiplied to calculate the actual amount of this allowance or charge */ multiplierFactorNumeric?: string | UdtAmount; amount: string | UdtAmount; baseAmount?: string | UdtAmount; taxCategory?: TaxCategory; }; /** * */ declare class AllowanceCharge extends GenericAggregateComponent { /** * @param {AllowedParams} content * @param {string} name */ constructor(content: AllowedParams); } export { AllowanceCharge, AllowedParams as AllowanceChargeParams }; //# sourceMappingURL=AllowanceChargeTypeGroup.d.ts.map