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.
69 |
# File 'lib/generated/gobl/bill/ordering.rb', line 69 property :buyer, GOBL::Org::Party |
#code ⇒ String (readonly)
Identifier assigned by the customer or buyer for internal routing purposes.
19 |
# File 'lib/generated/gobl/bill/ordering.rb', line 19 property :code, String |
#contract ⇒ DocumentReference (readonly)
The identification of a contract.
39 |
# File 'lib/generated/gobl/bill/ordering.rb', line 39 property :contract, DocumentReference |
#despatch ⇒ DocumentReference (readonly)
Despatch advice.
59 |
# File 'lib/generated/gobl/bill/ordering.rb', line 59 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.
24 |
# File 'lib/generated/gobl/bill/ordering.rb', line 24 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.
29 |
# File 'lib/generated/gobl/bill/ordering.rb', line 29 property :period, GOBL::Cal::Period |
#project ⇒ DocumentReference (readonly)
Project this invoice refers to.
34 |
# File 'lib/generated/gobl/bill/ordering.rb', line 34 property :project, DocumentReference |
#purchase ⇒ DocumentReference (readonly)
Purchase order issued by the customer or buyer.
44 |
# File 'lib/generated/gobl/bill/ordering.rb', line 44 property :purchase, DocumentReference |
#receiving ⇒ DocumentReference (readonly)
Receiving Advice.
54 |
# File 'lib/generated/gobl/bill/ordering.rb', line 54 property :receiving, DocumentReference |
#sale ⇒ DocumentReference (readonly)
Sales order issued by the supplier or seller.
49 |
# File 'lib/generated/gobl/bill/ordering.rb', line 49 property :sale, DocumentReference |
#seller ⇒ GOBL::Org::Party (readonly)
Party who is selling the goods but is not responsible for taxes like the supplier.
74 |
# File 'lib/generated/gobl/bill/ordering.rb', line 74 property :seller, GOBL::Org::Party |
#tender ⇒ DocumentReference (readonly)
Tender advice, the identification of the call for tender or lot the invoice relates to.
64 |
# File 'lib/generated/gobl/bill/ordering.rb', line 64 property :tender, DocumentReference |