Class: GOBL::Bill::DocumentReference
- 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
-
#code ⇒ String
readonly
Source document’s code or other identifier.
-
#series ⇒ String
readonly
Series the reference document belongs to.
-
#url ⇒ String
readonly
Link to the source document.
-
#uuid ⇒ GOBL::UUID::UUID
readonly
Unique ID copied from the source document.
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#code ⇒ String (readonly)
Source document’s code or other identifier.
29 |
# File 'lib/generated/gobl/bill/document_reference.rb', line 29 property :code, String |
#series ⇒ String (readonly)
Series the reference document belongs to.
24 |
# File 'lib/generated/gobl/bill/document_reference.rb', line 24 property :series, String |
#url ⇒ String (readonly)
Link to the source document.
34 |
# File 'lib/generated/gobl/bill/document_reference.rb', line 34 property :url, String |
#uuid ⇒ GOBL::UUID::UUID (readonly)
Unique ID copied from the source document.
19 |
# File 'lib/generated/gobl/bill/document_reference.rb', line 19 property :uuid, GOBL::UUID::UUID |