Skip to content

Documentation / @facturometro/core / OrderReferenceInput

Interface: OrderReferenceInput ​

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

ORDER AND SALES ORDER REFERENCE.

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

id ​

id: string

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

BT-13 Purchase order reference.

An identifier of a referenced purchase order, issued by the Buyer. An invoice must have buyer reference (BT-10) or purchase order reference. In cases where sales order reference is provided, but there's no purchase order reference, then use value "NA" as this element is mandatory in UBL.

Cardinality ​

1..1

Rules ​

PEPPOL-EN16931-R003

See ​


salesOrderId? ​

optional salesOrderId?: string

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

BT-14 Sales order reference.

An identifier of a referenced sales order, issued by the Seller. In cases where sales order reference is provided, but there's no purchase order reference, then set cac:OrderReference/cbc:ID to value "NA" as this element is mandatory in UBL.

Cardinality ​

0..1

See ​

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