Module jonix.onix3

Class TaxAmount

java.lang.Object
com.tectonica.jonix.onix3.TaxAmount
All Implemented Interfaces:
OnixElement<Double>, OnixTag, Serializable

public class TaxAmount extends Object implements OnixElement<Double>, Serializable

Tax amount

The amount of tax chargeable at the rate specified in an occurrence of the <Tax> composite. Optional and non-repeating; but either <TaxRatePercent> or <TaxAmount> or both must be present in each occurrence of the <Tax> composite.

Format Positive real number, with explicit decimal point when required, or zero, suggested maximum length 12 characters
Reference name <TaxAmount>
Short tag <x474>
Cardinality 0…1
Example <TaxAmount>1.86</TaxAmount>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • datestamp

      public String datestamp
      (type: dt.DateOrDateTime)
    • sourcename

      public String sourcename
      (type: dt.NonEmptyString)
    • sourcetype

      public RecordSourceTypes sourcetype
    • value

      public Double value
      This is the raw content of TaxAmount. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: Positive real number, with explicit decimal point when required, or zero, suggested maximum length 12 characters

      (type: dt.PositiveDecimalOrZero)

    • EMPTY

      public static final TaxAmount EMPTY
  • Constructor Details

    • TaxAmount

      public TaxAmount()
    • TaxAmount

      public TaxAmount(Element element)
  • Method Details