Class: GOBL::Tax::CorrectionDefinition
- Defined in:
- lib/generated/gobl/tax/correction_definition.rb
Overview
CorrectionDefinition contains details about what can be defined in .
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL CorrectionDefinition structure
'https://gobl.org/draft-0/tax/regime#/$defs/CorrectionDefinition'
Instance Attribute Summary collapse
-
#extensions ⇒ Array<GOBL::CBC::Key>
readonly
Extension keys that can be included.
-
#reason_required ⇒ Boolean
readonly
ReasonRequired when true implies that a reason must be provided.
-
#schema ⇒ String
readonly
Partial or complete schema URL for the document type supported by correction.
-
#stamps ⇒ Array<GOBL::CBC::Key>
readonly
Stamps that must be copied from the preceding document.
-
#types ⇒ Array<GOBL::CBC::Key>
readonly
The types of sub-documents supported by the regime.
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#extensions ⇒ Array<GOBL::CBC::Key> (readonly)
Extension keys that can be included
29 |
# File 'lib/generated/gobl/tax/correction_definition.rb', line 29 property :extensions, [GOBL::CBC::Key] |
#reason_required ⇒ Boolean (readonly)
ReasonRequired when true implies that a reason must be provided
34 |
# File 'lib/generated/gobl/tax/correction_definition.rb', line 34 property :reason_required, Boolean |
#schema ⇒ String (readonly)
Partial or complete schema URL for the document type supported by correction.
18 |
# File 'lib/generated/gobl/tax/correction_definition.rb', line 18 property :schema, String |
#stamps ⇒ Array<GOBL::CBC::Key> (readonly)
Stamps that must be copied from the preceding document.
39 |
# File 'lib/generated/gobl/tax/correction_definition.rb', line 39 property :stamps, [GOBL::CBC::Key] |
#types ⇒ Array<GOBL::CBC::Key> (readonly)
The types of sub-documents supported by the regime
24 |
# File 'lib/generated/gobl/tax/correction_definition.rb', line 24 property :types, [GOBL::CBC::Key] |