Documentation / @facturometro/core / BaseQuantityInput
Interface: BaseQuantityInput ​
Defined in: packages/core/src/model/common.types.generated.ts:2679
A quantity whose unit of measure (unitCode) is optional, such as the base quantity of a price.
Builder input for BaseQuantity: 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? ​
optionalunitCode?:string
Defined in: packages/core/src/model/common.types.generated.ts:2689
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:2683
The quantity, as a decimal string such as 1 or 2.5.