Class InvoiceTotalVATAmount


  • public class InvoiceTotalVATAmount
    extends Object
    BT-110:Invoice total VAT amount

    The total VAT amount for the Invoice.

    The Invoice total VAT amount is the sum of all VAT category tax amounts.

    BR-CO-14: Invoice total VAT amount (BT-110) = ? VAT category tax amount (BT-117). BT-111:Invoice total VAT amount in accounting currency

    The VAT total amount expressed in the accounting currency accepted or required in the country of the Seller.

    To be used when the VAT accounting currency (BT-6) differs from the Invoice currency code (BT-5) in accordance with article 230 of Directive 2006/112 / EC on VAT.The VAT amount in accounting currency is not used in the calculation of the Invoice totals.

    BR-53: If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided.

    XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount

    • Method Detail

      • setVATCurrency

        public InvoiceTotalVATAmount setVATCurrency​(Codes.Currency value)
        Parameters:
        value - BT-110-0:VAT currency

        @currencyID is mandatory to differentiate between VAT amount and VAT amount in accounting currency.

        XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount/@currencyID

        Returns:
        InvoiceTotalVATAmount
      • getVATCurrency

        public Codes.Currency getVATCurrency()
        BT-110-0:VAT currency

        @currencyID is mandatory to differentiate between VAT amount and VAT amount in accounting currency.

        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount/@currencyID
      • getInvoiceTotalVATAmount

        public Amount getInvoiceTotalVATAmount()
                                        throws ComputationException
        BT-110:Invoice total VAT amount

        The total VAT amount for the Invoice.

        The Invoice total VAT amount is the sum of all VAT category tax amounts.

        BR-CO-14: Invoice total VAT amount (BT-110) = ? VAT category tax amount (BT-117).

        Returns:
        a computed value unless an explicit value has been set and Invoice.setRecompute(boolean) has been called with a value of false in which case the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount is returned
        Throws:
        ComputationException