Class: GOBL::Bill::DocumentReference

Inherits:
Object show all
Defined in:
lib/generated/gobl/bill/document_reference.rb

Overview

DocumentReference provides a link to a existing document.

Constant Summary collapse

SCHEMA_ID =

The Schema ID of the GOBL DocumentReference structure

'https://gobl.org/draft-0/bill/invoice#/$defs/DocumentReference'

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

#codeString (readonly)

Source document’s code or other identifier.

Returns:

  • (String)


28
# File 'lib/generated/gobl/bill/document_reference.rb', line 28

property :code, String

#seriesString (readonly)

Series the reference document belongs to.

Returns:

  • (String)


23
# File 'lib/generated/gobl/bill/document_reference.rb', line 23

property :series, String

#urlString (readonly)

Link to the source document.

Returns:

  • (String)


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

property :url, String

#uuidString (readonly)

Unique ID copied from the source document.

Returns:

  • (String)


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

property :uuid, String