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:



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

property :buyer, GOBL::Org::Party

#codeGOBL::CBC::Code (readonly)

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

Returns:



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

property :code, GOBL::CBC::Code

#contractsArray<GOBL::Org::DocumentRef> (readonly)

The identification of contracts.

Returns:



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

property :contracts, [GOBL::Org::DocumentRef]

#despatchArray<GOBL::Org::DocumentRef> (readonly)

Despatch advice.

Returns:



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

property :despatch, [GOBL::Org::DocumentRef]

#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

#projectsArray<GOBL::Org::DocumentRef> (readonly)

Projects this invoice refers to.

Returns:



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

property :projects, [GOBL::Org::DocumentRef]

#purchasesArray<GOBL::Org::DocumentRef> (readonly)

Purchase orders issued by the customer or buyer.

Returns:



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

property :purchases, [GOBL::Org::DocumentRef]

#receivingArray<GOBL::Org::DocumentRef> (readonly)

Receiving Advice.

Returns:



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

property :receiving, [GOBL::Org::DocumentRef]

#salesArray<GOBL::Org::DocumentRef> (readonly)

Sales orders issued by the supplier or seller.

Returns:



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

property :sales, [GOBL::Org::DocumentRef]

#sellerGOBL::Org::Party (readonly)

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

Returns:



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

property :seller, GOBL::Org::Party

#tenderArray<GOBL::Org::DocumentRef> (readonly)

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

Returns:



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

property :tender, [GOBL::Org::DocumentRef]