Class: GOBL::Tax::Total
Overview
Total contains a set of Category Totals which in turn contain all the accumulated taxes contained in the document.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL Total structure
'https://gobl.org/draft-0/tax/total'
Constants included from Hashme
Instance Attribute Summary collapse
-
#categories ⇒ Array<CategoryTotal>
readonly
Grouping of all the taxes by their category.
-
#sum ⇒ GOBL::Num::Amount
readonly
Total value of all the taxes applied.
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#categories ⇒ Array<CategoryTotal> (readonly)
Grouping of all the taxes by their category
19 |
# File 'lib/gobl/tax/total.rb', line 19 property :categories, [CategoryTotal] |
#sum ⇒ GOBL::Num::Amount (readonly)
Total value of all the taxes applied.
24 |
# File 'lib/gobl/tax/total.rb', line 24 property :sum, GOBL::Num::Amount |