Class: GOBL::Bill::Outlay
- Defined in:
- lib/generated/gobl/bill/outlay.rb
Overview
Outlay represents a reimbursable expense that was paid for by the supplier and invoiced separately by the third party directly to the customer.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL Outlay structure
'https://gobl.org/draft-0/bill/invoice#/$defs/Outlay'
Instance Attribute Summary collapse
-
#amount ⇒ GOBL::Num::Amount
readonly
Amount paid by the supplier.
-
#code ⇒ String
readonly
Invoice number or other reference detail used to identify the outlay.
-
#date ⇒ GOBL::Cal::Date
readonly
When was the outlay made.
-
#description ⇒ String
readonly
Details on what the outlay was.
-
#i ⇒ Integer
readonly
Outlay number index inside the invoice for ordering (calculated).
-
#series ⇒ String
readonly
Series of the outlay invoice.
-
#supplier ⇒ GOBL::Org::Party
readonly
Who was the supplier of the outlay.
-
#uuid ⇒ String
readonly
Universally Unique Identifier.
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#amount ⇒ GOBL::Num::Amount (readonly)
Amount paid by the supplier.
54 |
# File 'lib/generated/gobl/bill/outlay.rb', line 54 property :amount, GOBL::Num::Amount |
#code ⇒ String (readonly)
Invoice number or other reference detail used to identify the outlay.
33 |
# File 'lib/generated/gobl/bill/outlay.rb', line 33 property :code, String |
#date ⇒ GOBL::Cal::Date (readonly)
When was the outlay made.
28 |
# File 'lib/generated/gobl/bill/outlay.rb', line 28 property :date, GOBL::Cal::Date |
#description ⇒ String (readonly)
Details on what the outlay was.
43 |
# File 'lib/generated/gobl/bill/outlay.rb', line 43 property :description, String |
#i ⇒ Integer (readonly)
Outlay number index inside the invoice for ordering (calculated).
23 |
# File 'lib/generated/gobl/bill/outlay.rb', line 23 property :i, Integer |
#series ⇒ String (readonly)
Series of the outlay invoice.
38 |
# File 'lib/generated/gobl/bill/outlay.rb', line 38 property :series, String |
#supplier ⇒ GOBL::Org::Party (readonly)
Who was the supplier of the outlay
49 |
# File 'lib/generated/gobl/bill/outlay.rb', line 49 property :supplier, GOBL::Org::Party |
#uuid ⇒ String (readonly)
Universally Unique Identifier.
18 |
# File 'lib/generated/gobl/bill/outlay.rb', line 18 property :uuid, String |