Class: GOBL::Tax::CategoryTotal
- Inherits:
-
Object
show all
- Defined in:
- lib/generated/gobl/tax/category_total.rb
Overview
CategoryTotal groups together all rates inside a given category.
Constant Summary
collapse
- SCHEMA_ID =
The Schema ID of the GOBL CategoryTotal structure
'https://gobl.org/draft-0/tax/total#/$defs/CategoryTotal'
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
31
|
# File 'lib/generated/gobl/tax/category_total.rb', line 31
property :amount, GOBL::Num::Amount
|
17
|
# File 'lib/generated/gobl/tax/category_total.rb', line 17
property :code, GOBL::CBC::Code
|
26
|
# File 'lib/generated/gobl/tax/category_total.rb', line 26
property :rates, [RateTotal]
|
#retained ⇒ Boolean
22
|
# File 'lib/generated/gobl/tax/category_total.rb', line 22
property :retained, Boolean
|
36
|
# File 'lib/generated/gobl/tax/category_total.rb', line 36
property :surcharge, GOBL::Num::Amount
|