Skip to content

Documentation / @facturometro/einvoice / UncheckedOrderReference

Interface: UncheckedOrderReference ​

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

ORDER AND SALES ORDER REFERENCE.

Parser output for OrderReference: every property is optional and codes are plain strings, because nothing has been validated yet.

See ​

Properties ​

id? ​

optional id?: string

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

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

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.