Skip to content

Deduction

Return payroll categories of type deduction for Australian Files

Released
Updated
URLSupports
/{cf_uri}/Payroll/PayrollCategory/Deduction
GET

Attribute Details

Paging: default page size is set to 400 with a maximum of 1000 results.

AttributeTypeNotes
UIDGuid (36)Unique deduction category identifier in the form of a guid.
NameString (31)Name of the payroll deduction category.
TypeStringIndicates the type of payroll category ie: Wage, Expense, Deduction.
PayableAccountobjectDetails for the linked payable account of the deduction category.
PayableAccount.UIDGuid (36)Foreign Key : Unique identifier for the account in the form of a guid.
PayableAccount.NameString (30)Account name belonging to the account record.
PayableAccount.DisplayIDString (6)Account code format includes separator ie 2-2100 { 'DisplayID': '2-2100' }
PayableAccount.URIStringUniform resource identifier associated with the account object.
StpCategoryStringSTP Category for this payroll category. See MYOB help for more info. Expected values include: NotReportable (default) GrossPayments PAYGWithholding ExemptForeignIncome CDEPPayments AllowanceCar AllowanceTransport AllowanceTravel AllowanceMeals AllowanceLaundry AllowanceOther DeductionUnionProfAssocFees DeductionWorkPlaceGiving ReportableFringeBenefitsExemptAmount ReportableFringeBenefitsTaxableAmount ETPTaxableComponent ETPTaxFreeComponent ETPTaxWithholding LumpSumPaymentATermination LumpSumPaymentARedundancy LumpSumPaymentB LumpSumPaymentD LumpSumPaymentE SuperGuarantee OrdinaryTimesEarnings ReportableEmployerSuperContributions Overtime BonusesAndCommissions DirectorFees AllowanceTools AllowanceTasks AllowanceQualificationsOrCertificates LumpSumPaymentW CashOutOfLeaveInService UnusedLeaveOnTermination PaidParentalLeave WorkersCompensationLeave AncilliaryAndDefenceLeave OtherPaidLeave SalarySacrificeOtherEmployeeBenefits SalarySacrifice SalarySacrificeResc SuperGuaranteeResc
CalculationBasisobjectDetails on how to calculate deduction.
CalculationBasis.TypeStringThe type of calculation to use can be any of the following 3: UserEntered - use amount on employees standard pay when processing. PercentageOfPayrollCategory - Equals x percentage, calculate as a % of gross wages or another payroll category. FixedDollars - Equals x dollar to deduct for all linked employees.
CalculationBasis.PercentageOfDecimal (13.2)Percentage of deduction to calculate if CalculationBasis.Type = PercentageOfPayrollCategory .
CalculationBasis.PayrollCategoryobjectPayroll wage category used to calculate PercentageOf only if CalculationBasis.Type = PercentageOfPayrollCategory .
CalculationBasis.PayrollCategory.UIDGuid (36)Unique wage category identifier in the form of a guid.
CalculationBasis.PayrollCategory.NameString (31)Name of the payroll wage category.
CalculationBasis.PayrollCategory.TypeStringIndicates the type of payroll category ie: Wage, Expense, Deduction.
CalculationBasis.PayrollCategory.URIStringUniform resource identifier associated with the payroll wage object.
CalculationBasis.FixedDollarsOfDecimal (13.2)Nominated deduction amount CalculationBasis.Type = FixedDollars .
CalculationBasis.AccrualPeriodStringHow the specified deduction amount is calculated if CalculationBasis.Type = FixedDollars . Can consist of any of the following: PayPeriod Month Year Hour
LimitobjectDetails on any limits put in place for deduction.
Limit.TypeStringThe type of calculation to use can be any of the following 3: NoLimit - no limits in place on deduction calculations. PercentageOfPayrollCategory - Equals x percentage, limit is calculated as a % of gross wages or another payroll category. FixedDollars - Equals x dollar limit set.
Limit.PercentageOfDecimal (13.2)Limit as a percentage if Limit.Type = PercentageOfPayrollCategory .
Limit.PayrollCategoryobjectPayroll wage category used to calculate limit PercentageOf if Limit.Type = PercentageOfPayrollCategory .
Limit.PayrollCategory.UIDGuid (36)Unique wage category identifier in the form of a guid.
Limit.PayrollCategory.NameString (31)Name of the payroll wage category.
Limit.PayrollCategory.TypeStringIndicates the type of payroll category ie: Wage, Expense, Deduction.
Limit.PayrollCategory.URIStringUniform resource identifier associated with the payroll wage object.
Limit.FixedDollarsOfDecimal (13.2)Maximum deduction amount Limit.Type = FixedDollars .
Limit.AccrualPeriodStringHow the maximum deduction amount is calculated if Limit.Type = FixedDollars . Can consist of any of the following: PayPeriod Month Year Hour
ExemptionsarrayAn array of tax categories this deduction category is exempt from
Exemptions.UIDGuid (36)Unique payroll category identifier in the form of a guid.
Exemptions.NameString (31)Name of the payroll category.
Exemptions.TypeStringIndicates the type of payroll category ie: Deduction, Tax.
Exemptions.URIStringUniform resource identifier associated with the payroll category object.
URIStringUniform resource identifier encompasses all types of names and addresses that refer to objects on the web.
RowVersionStringNumber value that changes upon a record update, can be used for change control but does does not preserve a date or a time.

Example json GET response

Example

json
{
  "UID": "7581668f-87df-4f74-9e23-c2eb55b956e0",
  "Name": "Employee Purchase",
  "Type": "Deduction",
  "PayableAccount": {
    "UID": "02c3f70b-2570-4f2b-bd51-560c65ecb1df",
    "Name": "PAYG Withholdings Payable",
    "DisplayID": "2-1510",
    "URI": "{cf_uri}/GeneralLedger/Account/02c3f70b-2570-4f2b-bd51-560c65ecb1df"
  },
  "StpCategory": "NotReportable",
  "CalculationBasis\": {": {
    "Type": "FixedDollars",
    "PercentageOf": "null",
    "PayrollCategory": "null",
    "FixedDollarsOf": "25",
    "AccrualPeriod": "PayPeriod"
  },
  "Limit\": {": {
    "Type": "NoLimit",
    "PercentageOf": "null",
    "PayrollCategory:": "null",
    "FixedDollarsOf": "null",
    "AccrualPeriod": "null"
  },
  "Exemptions": "null",
  "URI": "{cf_uri}/Payroll/PayrollCategory/Deduction/7581668f-87df-4f74-9e23-c2eb55b956e0",
  "RowVersion": "4487274078721277952"
}

The {cf_uri} is provided by the businessId parameter as described here.