Class InvoiceTotalAmountWithVAT


  • public class InvoiceTotalAmountWithVAT
    extends Object
    BT-112:Invoice total amount with VAT

    The total amount of the Invoice with VAT.

    The Invoice total amount with VAT is the Invoice total amount without VAT plus the Invoice total VAT amount.

    BR-14: An Invoice shall have the Invoice total amount with VAT (BT-112).BR-CO-15: Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).

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

    • Method Detail

      • setCurrencyCode

        public InvoiceTotalAmountWithVAT setCurrencyCode​(Codes.Currency value)
        Parameters:
        value - EXT:Currency code

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

        Returns:
        InvoiceTotalAmountWithVAT
      • getCurrencyCode

        public Codes.Currency getCurrencyCode()
        EXT:Currency code
        Returns:
        the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:GrandTotalAmount/@currencyID
      • getInvoiceTotalAmountWithVAT

        public Amount getInvoiceTotalAmountWithVAT()
                                            throws ComputationException
        BT-112:Invoice total amount with VAT

        The total amount of the Invoice with VAT.

        The Invoice total amount with VAT is the Invoice total amount without VAT plus the Invoice total VAT amount.

        BR-14: An Invoice shall have the Invoice total amount with VAT (BT-112).BR-CO-15: Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).

        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:GrandTotalAmount is returned
        Throws:
        ComputationException