Class: GOBL::Tax::PrecedingDefinitions

Inherits:
Object show all
Defined in:
lib/generated/gobl/tax/preceding_definitions.rb

Overview

PrecedingDefinitions contains details about what can be defined in Invoice preceding document data.

Constant Summary collapse

SCHEMA_ID =

The Schema ID of the GOBL PrecedingDefinitions structure

'https://gobl.org/draft-0/tax/regime#/$defs/PrecedingDefinitions'

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

#correction_methodsArray<KeyDefinition> (readonly)

CorrectionMethods describe the methods used to correct an invoice.

Returns:



24
# File 'lib/generated/gobl/tax/preceding_definitions.rb', line 24

property :correction_methods, [KeyDefinition]

#correctionsArray<KeyDefinition> (readonly)

Corrections contains a list of all the keys that can be used to identify a correction.

Returns:



19
# File 'lib/generated/gobl/tax/preceding_definitions.rb', line 19

property :corrections, [KeyDefinition]