java.lang.Object
com.tectonica.jonix.onix2.TaxRateCode1
- All Implemented Interfaces:
OnixElement<TaxRateTypes>
,OnixTag
,Serializable
Tax rate 1, coded
A code which specifies a value added tax rate applying to the whole of the price, or to the amount of the price which is specified in <TaxableAmount1> if present. Optional and non-repeating.
If the product is taxable at a single rate, or is wholly exempt or zero-rated, <TaxRateCode1> may be sent on its own, or with any combination of <TaxRatePercent1>, <TaxableAmount1> and <TaxAmount1>, although it is best practise to send all these three elements.
If the product carries mixed tax rates, the minimum requirement is to send <TaxRateCode1>, <TaxRateCode2>, <TaxableAmount1> and <TaxableAmount2>, though again best practise would be to send all eight tax elements so that the tax calculation is made entirely explicit.
Format | Fixed-length, one letter. |
Codelist | List 62 |
Reference name | <TaxRateCode1> |
Short tag | <j153> |
Example | <TaxRateCode1>Z</TaxRateCode1> Zero-rated |
- <
Price
>
Product
⯈SupplyDetail
⯈Price
⯈TaxRateCode1
Product
⯈SupplyDetail
⯈Reissue
⯈Price
⯈TaxRateCode1
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final TaxRateCode1
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<TaxRateCode1> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
value
-
EMPTY
-
-
Constructor Details
-
TaxRateCode1
public TaxRateCode1() -
TaxRateCode1
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<TaxRateTypes>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
codeOrNull
-
descriptionOrNull
-