Skip to content

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? ​

optional currencyId?: 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.

MIT licensed. Specification material belongs to OpenPeppol, CEN and OASIS (see NOTICE). Peppol is a trademark of OpenPeppol AISBL; this project is not affiliated with it.