Creates a deduction category for the business.

Request

POST https://api.yourpayroll.co.uk/api/v2/business/{businessId}/deductioncategory

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

The request body takes a complete UkDeductionCategoryModel resource, containing the following writable properties:

{
    "expenseGeneralLedgerMappingCode": "string",
    "externalId": "string",
    "id": "int32",
    "liabilityGeneralLedgerMappingCode": "string",
    "minimumWageDeductionImpact": "string",
    "name": "string",
    "source": "string",
    "taxExempt": "boolean"
}

Properties

Name Type Description
expenseGeneralLedgerMappingCode string String
externalId string String
id int32 Int32
liabilityGeneralLedgerMappingCode string String
minimumWageDeductionImpact string MinimumWageDeductionImpact

Possible values are:

  • NoImpact
  • ReduceMinimumWage
  • Accommodation
name string String
source string String
taxExempt boolean Boolean

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK