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 ​
- https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-OrderReference/
- https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-creditnote/cac-OrderReference/
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 ​
- https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-OrderReference/cbc-ID/
- https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-creditnote/cac-OrderReference/cbc-ID/
salesOrderId? ​
optionalsalesOrderId?: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