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)


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

property :code, String

#seriesString (readonly)

Series the reference document belongs to.

Returns:

  • (String)


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

property :series, String

#urlString (readonly)

Link to the source document.

Returns:

  • (String)


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

property :url, String

#uuidGOBL::UUID::UUID (readonly)

Unique ID copied from the source document.

Returns:



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

property :uuid, GOBL::UUID::UUID