Class IncludedTax
- java.lang.Object
-
- com.fourjs.report.facturx.profiles.extended.IncludedTax
-
public class IncludedTax extends Object
EXT:INCLUDED TAXXPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedAdvancePayment/ram:IncludedTradeTax
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Decimal
getCalculatedAmount()
EXT:CalculatedAmountCodes.VATCategoryCode
getCategoryCode()
EXT:CategoryCodeString
getExemptionReason()
EXT:ExemptionReasonCodes.VATExemptionReasonCode
getExemptionReasonCode()
EXT:ExemptionReasonCodeDecimal
getRateApplicablePercent()
EXT:RateApplicablePercentCodes.VATTypeCode
getTypeCode()
EXT:TypeCodeIncludedTax
setCalculatedAmount(Decimal value)
IncludedTax
setCategoryCode(Codes.VATCategoryCode value)
IncludedTax
setExemptionReason(String value)
IncludedTax
setExemptionReasonCode(Codes.VATExemptionReasonCode value)
IncludedTax
setRateApplicablePercent(Decimal value)
IncludedTax
setTypeCode(Codes.VATTypeCode value)
-
-
-
Method Detail
-
setCalculatedAmount
public IncludedTax setCalculatedAmount(Decimal value)
- Parameters:
value
- EXT:CalculatedAmountXPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedAdvancePayment/ram:IncludedTradeTax/ram:CalculatedAmount
- Returns:
- IncludedTax
-
setTypeCode
public IncludedTax setTypeCode(Codes.VATTypeCode value)
- Parameters:
value
- EXT:TypeCodeValue = VAT
Fixed value "VAT"
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedAdvancePayment/ram:IncludedTradeTax/ram:TypeCode
- Returns:
- IncludedTax
-
setExemptionReason
public IncludedTax setExemptionReason(String value)
- Parameters:
value
- EXT:ExemptionReasonXPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedAdvancePayment/ram:IncludedTradeTax/ram:ExemptionReason
- Returns:
- IncludedTax
-
setCategoryCode
public IncludedTax setCategoryCode(Codes.VATCategoryCode value)
- Parameters:
value
- EXT:CategoryCodeA coded identification of what VAT category applies to the document level charge.
The following entries of UNTDID 5305 [6] are used (further clarification between brackets):- Standard rate (Liable for VAT in a standard way)- Zero rated goods (Liable for VAT with a percentage rate of zero)- Exempt from tax (VAT/IGIC/IPSI)- VAT Reverse Charge (Reverse charge VAT/IGIC/IPSI rules apply)- VAT exempt for intra community supply of goods (VAT/IGIC/IPSI not levied due to Intra-community supply rules)- Free export item, tax not charged (VAT/IGIC/IPSI not levied due to export outside of the EU)- Services outside scope of tax (Sale is not subject to VAT/IGIC/IPSI)- Canary Islands General Indirect Tax (Liable for IGIC tax)- Liable for IPSI (Ceuta/Melilla tax)
The VAT category codes are as follows:S = Standard VAT rateZ = Zero rated goodsE = VAT exemptAE = Reverse chargeK = Intra-Community supply (specific reverse charge)G = Exempt VAT for Export outside EUO = Outside VAT scopeL = Canary IslandsM = Ceuta and Mellila
BR-37: Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102).
XPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedAdvancePayment/ram:IncludedTradeTax/ram:CategoryCode
- Returns:
- IncludedTax
-
setExemptionReasonCode
public IncludedTax setExemptionReasonCode(Codes.VATExemptionReasonCode value)
- Parameters:
value
- EXT:ExemptionReasonCodeXPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedAdvancePayment/ram:IncludedTradeTax/ram:ExemptionReasonCode
- Returns:
- IncludedTax
-
setRateApplicablePercent
public IncludedTax setRateApplicablePercent(Decimal value)
- Parameters:
value
- EXT:RateApplicablePercentXPath:/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedAdvancePayment/ram:IncludedTradeTax/ram:RateApplicablePercent
- Returns:
- IncludedTax
-
getCalculatedAmount
public Decimal getCalculatedAmount()
EXT:CalculatedAmount- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedAdvancePayment/ram:IncludedTradeTax/ram:CalculatedAmount
-
getTypeCode
public Codes.VATTypeCode getTypeCode()
EXT:TypeCodeValue = VAT
Fixed value "VAT"
- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedAdvancePayment/ram:IncludedTradeTax/ram:TypeCode
-
getExemptionReason
public String getExemptionReason()
EXT:ExemptionReason- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedAdvancePayment/ram:IncludedTradeTax/ram:ExemptionReason
-
getCategoryCode
public Codes.VATCategoryCode getCategoryCode()
EXT:CategoryCodeA coded identification of what VAT category applies to the document level charge.
The following entries of UNTDID 5305 [6] are used (further clarification between brackets):- Standard rate (Liable for VAT in a standard way)- Zero rated goods (Liable for VAT with a percentage rate of zero)- Exempt from tax (VAT/IGIC/IPSI)- VAT Reverse Charge (Reverse charge VAT/IGIC/IPSI rules apply)- VAT exempt for intra community supply of goods (VAT/IGIC/IPSI not levied due to Intra-community supply rules)- Free export item, tax not charged (VAT/IGIC/IPSI not levied due to export outside of the EU)- Services outside scope of tax (Sale is not subject to VAT/IGIC/IPSI)- Canary Islands General Indirect Tax (Liable for IGIC tax)- Liable for IPSI (Ceuta/Melilla tax)
The VAT category codes are as follows:S = Standard VAT rateZ = Zero rated goodsE = VAT exemptAE = Reverse chargeK = Intra-Community supply (specific reverse charge)G = Exempt VAT for Export outside EUO = Outside VAT scopeL = Canary IslandsM = Ceuta and Mellila
BR-37: Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102).
- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedAdvancePayment/ram:IncludedTradeTax/ram:CategoryCode
-
getExemptionReasonCode
public Codes.VATExemptionReasonCode getExemptionReasonCode()
EXT:ExemptionReasonCode- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedAdvancePayment/ram:IncludedTradeTax/ram:ExemptionReasonCode
-
getRateApplicablePercent
public Decimal getRateApplicablePercent()
EXT:RateApplicablePercent- Returns:
- the value /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedAdvancePayment/ram:IncludedTradeTax/ram:RateApplicablePercent
-
-