Skip to content

Documentation / @facturometro/core / PriceInput

Interface: PriceInput

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

BG-29 PRICE DETAILS.

A group of business terms providing information about the price applied for the goods and services invoiced on the Invoice line.

Builder input for Price: 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.

See

Properties

allowanceCharge?

optional allowanceCharge?: PriceAllowanceChargeInput

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

ALLOWANCE.

Cardinality

0..1

See


baseQuantity?

optional baseQuantity?: string | number | BaseQuantityInput

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

BT-149 Item price base quantity.

The number of item units to which the price applies.

Attribute unitCode (Item price base quantity unit of measure code): The unit of measure that applies to the Item price base quantity, must be the same as the unit code of the Invoiced/credited quantity. Codes for unit of packaging from UNECE Recommendation No. 21 can be used in accordance with the descriptions in the "Intro" section of UN/ECE Recommendation 20, Revision 11 (2015): The 2 character alphanumeric code values in UNECE Recommendation 21 shall be used. To avoid duplication with existing code values in UNECE Recommendation No. 20, each code value from UNECE Recommendation 21 shall be prefixed with an “X”, resulting in a 3 alphanumeric code when used as a unit of measure.

Cardinality

0..1

Rules

PEPPOL-EN16931-R121, BR-CL-23

Codelist

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

Rules

unitCode: PEPPOL-EN16931-R130

See


priceAmount

priceAmount: string | number | AmountInput

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

BT-146 Item net price.

The price of an item, exclusive of VAT, after subtracting item price discount. The Item net price has to be equal with the Item gross price less the Item price discount, if they are both provided. Item price can not be negative.

Attribute currencyID: Mandatory attribute. Use BT-5

Cardinality

1..1

Rules

BR-26, BR-27, BR-CL-03, PEPPOL-EN16931-R046

Codelist

currencyID: ISO4217 https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO4217/

Rules

currencyID: PEPPOL-EN16931-CL007, PEPPOL-EN16931-R051

See

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