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 ​
- 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? ​
optionalid?: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 ​
- 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: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