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
-
#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.
-
#tags ⇒ Array<GOBL::CBC::Key>
readonly
Special tax tags that apply to this invoice according to local requirements.
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#meta ⇒ GOBL::CBC::Meta (readonly)
Any additional data that may be required for processing, but should never be relied upon by recipients.
29 |
# File 'lib/generated/gobl/bill/tax.rb', line 29 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.
19 |
# File 'lib/generated/gobl/bill/tax.rb', line 19 property :prices_include, GOBL::CBC::Code |
#tags ⇒ Array<GOBL::CBC::Key> (readonly)
Special tax tags that apply to this invoice according to local requirements.
24 |
# File 'lib/generated/gobl/bill/tax.rb', line 24 property :tags, [GOBL::CBC::Key] |