Class: GOBL::Bill::Tax

Inherits:
Object show all
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

Method Summary

Methods inherited from Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#metaGOBL::CBC::Meta (readonly)

Any additional data that may be required for processing, but should never be relied upon by recipients.

Returns:



29
# File 'lib/generated/gobl/bill/tax.rb', line 29

property :meta, GOBL::CBC::Meta

#prices_includeGOBL::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.

Returns:



19
# File 'lib/generated/gobl/bill/tax.rb', line 19

property :prices_include, GOBL::CBC::Code

#tagsArray<GOBL::CBC::Key> (readonly)

Special tax tags that apply to this invoice according to local requirements.

Returns:



24
# File 'lib/generated/gobl/bill/tax.rb', line 24

property :tags, [GOBL::CBC::Key]