Class: GOBL::Tax::Total
- Defined in:
- lib/generated/gobl/tax/total.rb
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'
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
18 |
# File 'lib/generated/gobl/tax/total.rb', line 18 property :categories, [CategoryTotal] |
#sum ⇒ GOBL::Num::Amount (readonly)
Total value of all the taxes applied.
23 |
# File 'lib/generated/gobl/tax/total.rb', line 23 property :sum, GOBL::Num::Amount |