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.
-
#desc ⇒ 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 ⇒ GOBL::UUID::UUID
readonly
Unique identity for this outlay.
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.
55 |
# File 'lib/generated/gobl/bill/outlay.rb', line 55 property :amount, GOBL::Num::Amount |
#code ⇒ String (readonly)
Invoice number or other reference detail used to identify the outlay.
34 |
# File 'lib/generated/gobl/bill/outlay.rb', line 34 property :code, String |
#date ⇒ GOBL::Cal::Date (readonly)
When was the outlay made.
29 |
# File 'lib/generated/gobl/bill/outlay.rb', line 29 property :date, GOBL::Cal::Date |
#desc ⇒ String (readonly)
Details on what the outlay was.
44 |
# File 'lib/generated/gobl/bill/outlay.rb', line 44 property :desc, String |
#i ⇒ Integer (readonly)
Outlay number index inside the invoice for ordering (calculated).
24 |
# File 'lib/generated/gobl/bill/outlay.rb', line 24 property :i, Integer |
#series ⇒ String (readonly)
Series of the outlay invoice.
39 |
# File 'lib/generated/gobl/bill/outlay.rb', line 39 property :series, String |
#supplier ⇒ GOBL::Org::Party (readonly)
Who was the supplier of the outlay
50 |
# File 'lib/generated/gobl/bill/outlay.rb', line 50 property :supplier, GOBL::Org::Party |
#uuid ⇒ GOBL::UUID::UUID (readonly)
Unique identity for this outlay.
19 |
# File 'lib/generated/gobl/bill/outlay.rb', line 19 property :uuid, GOBL::UUID::UUID |