Class: GOBL::Bill::Ordering

Inherits:
Object show all
Defined in:
lib/generated/gobl/bill/ordering.rb

Overview

Ordering provides additional information about the ordering process including references to other documents and alternative parties involved in the order-to-delivery process.

Constant Summary collapse

SCHEMA_ID =

The Schema ID of the GOBL Ordering structure

'https://gobl.org/draft-0/bill/invoice#/$defs/Ordering'

Instance Attribute Summary collapse

Method Summary

Methods inherited from Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#buyerGOBL::Org::Party (readonly)

Party who is responsible for making the purchase, but is not responsible for handling taxes.

Returns:



68
# File 'lib/generated/gobl/bill/ordering.rb', line 68

property :buyer, GOBL::Org::Party

#codeString (readonly)

Identifier assigned by the customer or buyer for internal routing purposes.

Returns:

  • (String)


18
# File 'lib/generated/gobl/bill/ordering.rb', line 18

property :code, String

#contractDocumentReference (readonly)

The identification of a contract.

Returns:



38
# File 'lib/generated/gobl/bill/ordering.rb', line 38

property :contract, DocumentReference

#despatchDocumentReference (readonly)

Despatch advice.

Returns:



58
# File 'lib/generated/gobl/bill/ordering.rb', line 58

property :despatch, DocumentReference

#identitiesArray<GOBL::Org::Identity> (readonly)

Any additional Codes, IDs, SKUs, or other regional or custom identifiers that may be used to identify the order.

Returns:



23
# File 'lib/generated/gobl/bill/ordering.rb', line 23

property :identities, [GOBL::Org::Identity]

#periodGOBL::Cal::Period (readonly)

Period of time that the invoice document refers to often used in addition to the details provided in the individual line items.

Returns:



28
# File 'lib/generated/gobl/bill/ordering.rb', line 28

property :period, GOBL::Cal::Period

#projectDocumentReference (readonly)

Project this invoice refers to.

Returns:



33
# File 'lib/generated/gobl/bill/ordering.rb', line 33

property :project, DocumentReference

#purchaseDocumentReference (readonly)

Purchase order issued by the customer or buyer.

Returns:



43
# File 'lib/generated/gobl/bill/ordering.rb', line 43

property :purchase, DocumentReference

#receivingDocumentReference (readonly)

Receiving Advice.

Returns:



53
# File 'lib/generated/gobl/bill/ordering.rb', line 53

property :receiving, DocumentReference

#saleDocumentReference (readonly)

Sales order issued by the supplier or seller.

Returns:



48
# File 'lib/generated/gobl/bill/ordering.rb', line 48

property :sale, DocumentReference

#sellerGOBL::Org::Party (readonly)

Party who is selling the goods but is not responsible for taxes like the supplier.

Returns:



73
# File 'lib/generated/gobl/bill/ordering.rb', line 73

property :seller, GOBL::Org::Party

#tenderDocumentReference (readonly)

Tender advice, the identification of the call for tender or lot the invoice relates to.

Returns:



63
# File 'lib/generated/gobl/bill/ordering.rb', line 63

property :tender, DocumentReference