Deduction

Return payroll categories of type deduction for Australian Files

Date Released: Mar 2014 Date Updated: Jan 2021
URLSupports
/{cf_uri}/Payroll/PayrollCategory/Deduction GET |  PUT |  POST |  DELETE
Please note: While accessibility via the API is available to both AccountRight and new Essentials files. Not all features will be displayed in Product for new Essentials

The elements list below details information for Deduction. To view the descriptions for the elements you can either hover any attribute to reveal details or click here to show all details inline.

Items shown with are required when posting or puting data
Items shown with are read-only elements

Attribute Details

  • UIDGuid (36)
  • Unique deduction category identifier in the form of a guid.
  • NameString (31)
  • Name of the payroll deduction category.
  • TypeString
  • Indicates the type of payroll category ie: Wage, Expense, Deduction.
  • PayableAccount
  • Details for the linked payable account of the deduction category.
    • UIDGuid (36)
    • Foreign Key: Unique identifier for the account in the form of a guid.
    • NameString (30)
    • Account name belonging to the account record.
    • DisplayIDString (6)
    • Account code format includes separator ie 2-2100{ 'DisplayID': '2-2100' }
    • URIString
    • Uniform resource identifier associated with the account object.
  • StpCategory String
  • STP 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

  • CalculationBasis
  • Details on how to calculate deduction.
    • TypeString
    • The 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.
    • PercentageOfDecimal (13.2)
    • Percentage of deduction to calculate if CalculationBasis.Type = PercentageOfPayrollCategory.
    • PayrollCategory
    • Payroll wage category used to calculate PercentageOf only if CalculationBasis.Type = PercentageOfPayrollCategory.
      • UIDGuid (36)
      • Unique wage category identifier in the form of a guid.
      • NameString (31)
      • Name of the payroll wage category.
      • TypeString
      • Indicates the type of payroll category ie: Wage, Expense, Deduction.
      • URIString
      • Uniform resource identifier associated with the payroll wage object.
    • FixedDollarsOfDecimal (13.2)
    • Nominated deduction amount CalculationBasis.Type = FixedDollars.
    • AccrualPeriodString
    • How the specified deduction amount is calculated if CalculationBasis.Type = FixedDollars.
      Can consist of any of the following:
      PayPeriod
      Month
      Year
      Hour
  • Limit
  • Details on any limits put in place for deduction.
    • TypeString
    • The 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.
    • PercentageOfDecimal (13.2)
    • Limit as a percentage if Limit.Type = PercentageOfPayrollCategory.
    • PayrollCategory
    • Payroll wage category used to calculate limit PercentageOf if Limit.Type = PercentageOfPayrollCategory.
      • UIDGuid (36)
      • Unique wage category identifier in the form of a guid.
      • NameString (31)
      • Name of the payroll wage category.
      • TypeString
      • Indicates the type of payroll category ie: Wage, Expense, Deduction.
      • URIString
      • Uniform resource identifier associated with the payroll wage object.
    • FixedDollarsOfDecimal (13.2)
    • Maximum deduction amount Limit.Type = FixedDollars.
    • AccrualPeriodString
    • How the maximum deduction amount is calculated if Limit.Type = FixedDollars.
      Can consist of any of the following:
      PayPeriod
      Month
      Year
      Hour
  • Exemptions []
  • An array of tax categories this deduction category is exempt from
    • UIDGuid (36)
    • Unique payroll category identifier in the form of a guid.
    • NameString (31)
    • Name of the payroll category.
    • TypeString
    • Indicates the type of payroll category ie: Deduction, Tax.
    • URI String
    • Uniform resource identifier associated with the payroll category object.
  • URIString
  • Uniform resource identifier encompasses all types of names and addresses that refer to objects on the web.
  • RowVersionString
  • Number value that changes upon a record update, can be used for change control but does does not preserve a date or a time.


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

Example json GET response

  • {
  • "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"
  • }
Hypermedia in the MYOB Business API

The {cf_uri} is provided by the Company File endpoint.

Read more about Hypermedia in the MYOB Business API in our best practice guide.