< Back
 

# Packages

-  package root
  Definition Classes
    root
-  package uk
  Definition Classes
    root
-  package gov
  Definition Classes
    uk
-  package hmrc
  Definition Classes
    gov
-  package ct
  Definition Classes
    hmrc
-  package computations
  Definition Classes
    ct
-  package Validators
  Definition Classes
    computations
-  package calculations
  Definition Classes
    computations
- AdjustedTradingProfitCalculator
- AdjustedTradingProfitForPeriodCalculator
- AdjustedTradingProfitOrLossCalculator
- AnnualInvestmentAllowanceCalculator
- AnnualInvestmentAllowancePeriod
- AnnualInvestmentAllowancePeriods
- ApportionedTurnover
- ApportionedTurnoverCalculator
- ErrorState
- ExpensesCalculator
- FYA
- IncomeFromPropertyCalculator
- LossesBroughtForwardAgainstTradingProfitCalculator
- LossesCarriedForwardsCalculator
- LossesSetAgainstOtherProfitsCalculator
- LowEmissionCarRate
- LowEmissionCarsCalculator
- MachineryAndPlantCalculator
- MainRate
- NetProfitsChargeableToCtCalculator
- NetProfitsChargeableToCtWithoutDonationsCalculator
- NetTradingProfitCalculator
- NonBankInterestSimilarIncomeReceivableCalculator
- NonTradeIncomeCalculator
- PoolPercentageCalculator
- ProfitAndLossCalculator
- QualifyingExpenditureOnMachineryCalculation
- SBACalculator
- SpecialRate
- SummaryCalculator
- SummaryLossesArisingThisPeriodCalculator
- TotalAdditionsCalculator
- TotalDeductionsCalculator
- TotalExpenditureQualifyingForTheFirstYearAllowanceCalculator
- TotalFirstYearAllowanceClaimedCalculation
- TotalProfitsBeforeDeductionsCalculator
- TradingLossesCP286MaximumCalculator
- TradingLossesThisAndLaterPeriodCalculation
- WritingDownAllowanceCalculator
-  package capitalAllowanceAndSBA
  Definition Classes
    computations
-  package covidSupport
  Definition Classes
    computations
-  package formats
  Definition Classes
    computations
-  package lowEmissionCars
  Definition Classes
    computations
-  package machineryAndPlant
  Definition Classes
    computations
-  package nir
  Definition Classes
    computations
-  package retriever
  Definition Classes
    computations

p

uk.gov.hmrc.ct.computations

# calculations 

#### package calculations

 
Ordering

1. Alphabetic

Visibility

1. Public
2. All

### Type Members

1.  trait AdjustedTradingProfitCalculator extends AnyRef
2.  trait AdjustedTradingProfitForPeriodCalculator extends CtTypeConverters
3.  trait AdjustedTradingProfitOrLossCalculator extends CtTypeConverters
4.  trait AnnualInvestmentAllowanceCalculator extends AnyRef
5.  case class AnnualInvestmentAllowancePeriod(start: LocalDate, end: LocalDate, maximumAllowed: Int) extends Product with Serializable
6.  case class ApportionedTurnover(beforeAccountingPeriod: Option[Int], duringAccountingPeriod: Option[Int], afterAccountingPeriod: Option[Int]) extends Product with Serializable
7.  trait ApportionedTurnoverCalculator extends AnyRef
8.  trait ExpensesCalculator extends CtTypeConverters
9.  trait IncomeFromPropertyCalculator extends CtTypeConverters
10.  trait LossesBroughtForwardAgainstTradingProfitCalculator extends CtTypeConverters
11.  trait LossesCarriedForwardsCalculator extends CtTypeConverters
12.  trait LossesSetAgainstOtherProfitsCalculator extends CtTypeConverters
13.  sealed trait LowEmissionCarRate extends AnyRef

    Needed to include an ErrorState here because not having a case in the LowEmissionCarsCalculator for unmatched cases was leading to exceptions if the user didn't input any values for emissions or the cars emissions in the edit or add car page.

14.  trait LowEmissionCarsCalculator extends CtTypeConverters
15.  trait MachineryAndPlantCalculator extends CtTypeConverters
16.  trait NetProfitsChargeableToCtCalculator extends CtTypeConverters
17.  trait NetProfitsChargeableToCtWithoutDonationsCalculator extends CtTypeConverters
18.  trait NetTradingProfitCalculator extends CtTypeConverters
19.  trait NonBankInterestSimilarIncomeReceivableCalculator extends CtTypeConverters
20.  trait NonTradeIncomeCalculator extends CtTypeConverters
21.  case class PoolPercentageCalculator(oldMainRate: Int = 18, newMainRate: Int = 18, oldSpecialRate: Int = 8, newSpecialRate: Int = 6, newRateStartDate: LocalDate = new LocalDate("2019-04-01")) extends Product with Serializable
22.  trait ProfitAndLossCalculator extends CtTypeConverters
23.  trait QualifyingExpenditureOnMachineryCalculation extends CtTypeConverters
24.  trait SBACalculator extends NumberRounding with AccountingPeriodHelper
25.  trait SummaryCalculator extends CtTypeConverters
26.  trait SummaryLossesArisingThisPeriodCalculator extends AnyRef
27.  trait TotalAdditionsCalculator extends CtTypeConverters
28.  trait TotalDeductionsCalculator extends CtTypeConverters
29.  trait TotalExpenditureQualifyingForTheFirstYearAllowanceCalculator extends CtTypeConverters
30.  trait TotalFirstYearAllowanceClaimedCalculation extends CtTypeConverters
31.  trait TotalProfitsBeforeDeductionsCalculator extends CtTypeConverters
32.  trait TradingLossesCP286MaximumCalculator extends CtTypeConverters
33.  trait TradingLossesThisAndLaterPeriodCalculation extends AnyRef
34.  trait WritingDownAllowanceCalculator extends CtTypeConverters

### Value Members

1.  object AnnualInvestmentAllowancePeriods
2.  object ApportionedTurnover extends Serializable
3.  object ErrorState extends LowEmissionCarRate with Product with Serializable
4.  object FYA extends LowEmissionCarRate with Product with Serializable
5.  object LowEmissionCarsCalculator extends LowEmissionCarsCalculator
6.  object MainRate extends LowEmissionCarRate with Product with Serializable
7.  object SpecialRate extends LowEmissionCarRate with Product with Serializable
8.  object WritingDownAllowanceCalculator

### Ungrouped