Skip to content

Documentation / @facturometro/einvoice / QuantityInput

Interface: QuantityInput ​

Defined in: packages/core/src/model/common.types.generated.ts:2635

A quantity: a decimal with its unit of measure (unitCode).

Builder input for Quantity: 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 ​

unitCode ​

unitCode: string

Defined in: packages/core/src/model/common.types.generated.ts:2645

Attribute unitCode.

Codelist ​

UNECERec20 https://docs.peppol.eu/poacc/billing/3.0/codelist/UNECERec20/


value ​

value: string | number

Defined in: packages/core/src/model/common.types.generated.ts:2639

The quantity, as a decimal string such as 1 or 2.5.

MIT licensed. Specification artefacts belong to OpenPEPPOL, CEN and OASIS.