Class: GOBL::Bill::Ordering
- 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
-
#buyer ⇒ GOBL::Org::Party
readonly
Party who is responsible for making the purchase, but is not responsible for handling taxes.
-
#code ⇒ String
readonly
Identifier assigned by the customer or buyer for internal routing purposes.
-
#contract ⇒ DocumentReference
readonly
The identification of a contract.
-
#despatch ⇒ DocumentReference
readonly
Despatch advice.
-
#identities ⇒ Array<GOBL::Org::Identity>
readonly
Any additional Codes, IDs, SKUs, or other regional or custom identifiers that may be used to identify the order.
-
#period ⇒ GOBL::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.
-
#project ⇒ DocumentReference
readonly
Project this invoice refers to.
-
#purchase ⇒ DocumentReference
readonly
Purchase order issued by the customer or buyer.
-
#receiving ⇒ DocumentReference
readonly
Receiving Advice.
-
#sale ⇒ DocumentReference
readonly
Sales order issued by the supplier or seller.
-
#seller ⇒ GOBL::Org::Party
readonly
Party who is selling the goods but is not responsible for taxes like the supplier.
-
#tender ⇒ DocumentReference
readonly
Tender advice, the identification of the call for tender or lot the invoice relates to.
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#buyer ⇒ GOBL::Org::Party (readonly)
Party who is responsible for making the purchase, but is not responsible for handling taxes.
68 |
# File 'lib/generated/gobl/bill/ordering.rb', line 68 property :buyer, GOBL::Org::Party |
#code ⇒ String (readonly)
Identifier assigned by the customer or buyer for internal routing purposes.
18 |
# File 'lib/generated/gobl/bill/ordering.rb', line 18 property :code, String |
#contract ⇒ DocumentReference (readonly)
The identification of a contract.
38 |
# File 'lib/generated/gobl/bill/ordering.rb', line 38 property :contract, DocumentReference |
#despatch ⇒ DocumentReference (readonly)
Despatch advice.
58 |
# File 'lib/generated/gobl/bill/ordering.rb', line 58 property :despatch, DocumentReference |
#identities ⇒ Array<GOBL::Org::Identity> (readonly)
Any additional Codes, IDs, SKUs, or other regional or custom identifiers that may be used to identify the order.
23 |
# File 'lib/generated/gobl/bill/ordering.rb', line 23 property :identities, [GOBL::Org::Identity] |
#period ⇒ GOBL::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.
28 |
# File 'lib/generated/gobl/bill/ordering.rb', line 28 property :period, GOBL::Cal::Period |
#project ⇒ DocumentReference (readonly)
Project this invoice refers to.
33 |
# File 'lib/generated/gobl/bill/ordering.rb', line 33 property :project, DocumentReference |
#purchase ⇒ DocumentReference (readonly)
Purchase order issued by the customer or buyer.
43 |
# File 'lib/generated/gobl/bill/ordering.rb', line 43 property :purchase, DocumentReference |
#receiving ⇒ DocumentReference (readonly)
Receiving Advice.
53 |
# File 'lib/generated/gobl/bill/ordering.rb', line 53 property :receiving, DocumentReference |
#sale ⇒ DocumentReference (readonly)
Sales order issued by the supplier or seller.
48 |
# File 'lib/generated/gobl/bill/ordering.rb', line 48 property :sale, DocumentReference |
#seller ⇒ GOBL::Org::Party (readonly)
Party who is selling the goods but is not responsible for taxes like the supplier.
73 |
# File 'lib/generated/gobl/bill/ordering.rb', line 73 property :seller, GOBL::Org::Party |
#tender ⇒ DocumentReference (readonly)
Tender advice, the identification of the call for tender or lot the invoice relates to.
63 |
# File 'lib/generated/gobl/bill/ordering.rb', line 63 property :tender, DocumentReference |