Class: GOBL::Tax::CategoryTotal
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'
Constants included
from Hashme
Hashme::Boolean
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
37
|
# File 'lib/gobl/tax/category_total.rb', line 37
property :amount, GOBL::Num::Amount
|
32
|
# File 'lib/gobl/tax/category_total.rb', line 32
property :base, GOBL::Num::Amount
|
18
|
# File 'lib/gobl/tax/category_total.rb', line 18
property :code, GOBL::CBC::Code
|
27
|
# File 'lib/gobl/tax/category_total.rb', line 27
property :rates, [RateTotal]
|
23
|
# File 'lib/gobl/tax/category_total.rb', line 23
property :retained, Boolean
|
42
|
# File 'lib/gobl/tax/category_total.rb', line 42
property :surcharge, GOBL::Num::Amount
|