Class: GOBL::Regimes::Mx::FuelAccountTax
- Defined in:
- lib/generated/gobl/regimes/mx/fuel_account_tax.rb
Overview
FuelAccountTax represents a single tax applied to a fuel purchase.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL FuelAccountTax structure
'https://gobl.org/draft-0/regimes/mx/fuel-account-balance#/$defs/FuelAccountTax'
Instance Attribute Summary collapse
-
#amount ⇒ GOBL::Num::Amount
readonly
Total amount of the tax once the rate has been applied (maps to ‘Importe`).
-
#code ⇒ GOBL::CBC::Code
readonly
Code that identifies the tax (“IVA” or “IEPS”, maps to ‘Impuesto`).
-
#rate ⇒ GOBL::Num::Amount
readonly
Rate applicable to either the line total (tasa) or the line quantity (cuota) (maps to ‘TasaOCuota`).
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#amount ⇒ GOBL::Num::Amount (readonly)
Total amount of the tax once the rate has been applied (maps to ‘Importe`).
32 |
# File 'lib/generated/gobl/regimes/mx/fuel_account_tax.rb', line 32 property :amount, GOBL::Num::Amount |
#code ⇒ GOBL::CBC::Code (readonly)
Code that identifies the tax (“IVA” or “IEPS”, maps to ‘Impuesto`)
20 |
# File 'lib/generated/gobl/regimes/mx/fuel_account_tax.rb', line 20 property :code, GOBL::CBC::Code |
#rate ⇒ GOBL::Num::Amount (readonly)
Rate applicable to either the line total (tasa) or the line quantity (cuota) (maps to ‘TasaOCuota`).
26 |
# File 'lib/generated/gobl/regimes/mx/fuel_account_tax.rb', line 26 property :rate, GOBL::Num::Amount |