Class: GOBL::Bill::Tax
- Defined in:
- lib/generated/gobl/bill/tax.rb
Overview
Tax defines a summary of the taxes which may be applied to an invoice.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL Tax structure
'https://gobl.org/draft-0/bill/invoice#/$defs/Tax'
Instance Attribute Summary collapse
-
#ext ⇒ GOBL::Tax::Extensions
readonly
Additional extensions that are applied to the invoice as a whole as opposed to specific sections.
-
#meta ⇒ GOBL::CBC::Meta
readonly
Any additional data that may be required for processing, but should never be relied upon by recipients.
-
#prices_include ⇒ GOBL::CBC::Code
readonly
Category of the tax already included in the line item prices, especially useful for B2C retailers with customers who prefer final prices inclusive of tax.
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#ext ⇒ GOBL::Tax::Extensions (readonly)
Additional extensions that are applied to the invoice as a whole as opposed to specific sections.
23 |
# File 'lib/generated/gobl/bill/tax.rb', line 23 property :ext, GOBL::Tax::Extensions |
#meta ⇒ GOBL::CBC::Meta (readonly)
Any additional data that may be required for processing, but should never be relied upon by recipients.
28 |
# File 'lib/generated/gobl/bill/tax.rb', line 28 property :meta, GOBL::CBC::Meta |
#prices_include ⇒ GOBL::CBC::Code (readonly)
Category of the tax already included in the line item prices, especially useful for B2C retailers with customers who prefer final prices inclusive of tax.
18 |
# File 'lib/generated/gobl/bill/tax.rb', line 18 property :prices_include, GOBL::CBC::Code |