Documentation / @einvoice-ts/core / AmountInput
Interface: AmountInput ​
Defined in: packages/core/src/model/common.types.generated.ts:2616
An amount: a decimal with the currency it is expressed in (currencyID).
Builder input for Amount: decimals may be numbers; currencyId and defaultable elements (those with a default or fixed value) are optional; leaves whose attributes are all optional accept a plain string.
Properties ​
currencyId? ​
optionalcurrencyId?:string
Defined in: packages/core/src/model/common.types.generated.ts:2626
Attribute currencyID.
Codelist ​
ISO4217 https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO4217/
value ​
value:
string|number
Defined in: packages/core/src/model/common.types.generated.ts:2620
The amount, as a decimal string such as 100.00.