Class: GOBL::Bill::Outlay

Inherits:
Object show all
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

Method Summary

Methods inherited from Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#amountGOBL::Num::Amount (readonly)

Amount paid by the supplier.

Returns:



55
# File 'lib/generated/gobl/bill/outlay.rb', line 55

property :amount, GOBL::Num::Amount

#codeString (readonly)

Invoice number or other reference detail used to identify the outlay.

Returns:

  • (String)


34
# File 'lib/generated/gobl/bill/outlay.rb', line 34

property :code, String

#dateGOBL::Cal::Date (readonly)

When was the outlay made.

Returns:



29
# File 'lib/generated/gobl/bill/outlay.rb', line 29

property :date, GOBL::Cal::Date

#descString (readonly)

Details on what the outlay was.

Returns:

  • (String)


44
# File 'lib/generated/gobl/bill/outlay.rb', line 44

property :desc, String

#iInteger (readonly)

Outlay number index inside the invoice for ordering (calculated).

Returns:

  • (Integer)


24
# File 'lib/generated/gobl/bill/outlay.rb', line 24

property :i, Integer

#seriesString (readonly)

Series of the outlay invoice.

Returns:

  • (String)


39
# File 'lib/generated/gobl/bill/outlay.rb', line 39

property :series, String

#supplierGOBL::Org::Party (readonly)

Who was the supplier of the outlay

Returns:



50
# File 'lib/generated/gobl/bill/outlay.rb', line 50

property :supplier, GOBL::Org::Party

#uuidGOBL::UUID::UUID (readonly)

Unique identity for this outlay.

Returns:



19
# File 'lib/generated/gobl/bill/outlay.rb', line 19

property :uuid, GOBL::UUID::UUID