Class InvoiceTotalAmountWithVAT
- java.lang.Object
-
- com.fourjs.report.facturx.profiles.extended.InvoiceTotalAmountWithVAT
-
public class InvoiceTotalAmountWithVAT extends Object
BT-112:Invoice total amount with VATThe 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Codes.Currency
getCurrencyCode()
EXT:Currency codeAmount
getInvoiceTotalAmountWithVAT()
BT-112:Invoice total amount with VATInvoiceTotalAmountWithVAT
setCurrencyCode(Codes.Currency value)
-
-
-
Method Detail
-
setCurrencyCode
public InvoiceTotalAmountWithVAT setCurrencyCode(Codes.Currency value)
- Parameters:
value
- EXT:Currency codeXPath:/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 VATThe 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
-
-