Skip to content

Documentation / @facturometro/einvoice / OrderReference

Interface: OrderReference ​

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

ORDER AND SALES ORDER REFERENCE.

See ​

Properties ​

id ​

id: string

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

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:210

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.