Interface VatReverseCalculationService
- All Known Implementing Classes:
VatReverseCalculationServiceImpl
public interface VatReverseCalculationService
service that calculcates the amount based on the desired bruttoAmount and the vat information
Note: The amount is the field on the Voucher that is usually entered by the user
From the amount and the chosen vatCode the netto, vat and brutto field totals are then calculated
-
Method Summary
Modifier and TypeMethodDescriptiongetAmountFromBrutto
(BigDecimal bruttoAmount, @Nullable BigDecimal vatPercent, Boolean inclusive)
-
Method Details
-
getAmountFromBrutto
BigDecimal getAmountFromBrutto(BigDecimal bruttoAmount, @Nullable @Nullable BigDecimal vatPercent, Boolean inclusive)
-