Skip to content

Expense

Return payroll categories of type expense for Australian Files

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

Attribute Details

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

AttributeTypeNotes
UIDGuid (36)Unique expense category identifier in the form of a guid.
NameString (31)Name of the payroll expense category.
TypeStringIndicates the type of payroll category ie: Wage, Expense, Deduction.
ExpenseAccountobjectDetails for the linked expense account of the expense category.
ExpenseAccount.UIDGuid (36)Foreign Key : Unique identifier for the account in the form of a guid.
ExpenseAccount.NameString (30)Account name belonging to the account record.
ExpenseAccount.DisplayIDString (6)Account code format includes separator ie 6-1200 { 'DisplayID': '6-1200' }
ExpenseAccount.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
PayableAccountobjectDetails for the linked payable account of the expense 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.
PrintOnPayAdviceBooleanTrue indicates accrued expenses will show on pay advices. False indicates accrued expenses will not be shown on pay advices.
CalculationBasisobjectDetails on how to calculate expenses.
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 expense for all linked employees.
CalculationBasis.PercentageOfDecimal (13.2)Percentage of expense to calculate if CalculationBasis.Type = PercentageOfPayrollCategory .
CalculationBasis.PayrollCategoryobjectPayroll category used to calculate PercentageOf only if CalculationBasis.Type = PercentageOfPayrollCategory .
CalculationBasis.PayrollCategory.UIDGuid (36)Unique payroll category identifier in the form of a guid.
CalculationBasis.PayrollCategory.NameString (31)Name of the payroll category.
CalculationBasis.PayrollCategory.TypeStringIndicates the type of payroll category ie: Wage, Expense, Deduction.
CalculationBasis.PayrollCategory.URIStringUniform resource identifier associated with the payroll category object.
CalculationBasis.FixedDollarsOfDecimal (13.2)Nominated expense amount if CalculationBasis.Type = FixedDollars .
CalculationBasis.AccrualPeriodStringHow the expense 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 expenses.
Limit.TypeStringThe type of calculation to use can be any of the following 3: NoLimit - no limits in place on expense 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 category used to calculate limit PercentageOf only if Limit.Type = PercentageOfPayrollCategory .
Limit.PayrollCategory.UIDGuid (36)Unique payroll category identifier in the form of a guid.
Limit.PayrollCategory.NameString (31)Name of the payroll category.
Limit.PayrollCategory.TypeStringIndicates the type of payroll category ie: Wage, Expense, Deduction.
Limit.PayrollCategory.URIStringUniform resource identifier associated with the payroll object.
Limit.FixedDollarsOfDecimal (13.2)Maximum expense amount if Limit.Type = FixedDollars .
Limit.AccrualPeriodStringHow the maximum expense is calculated if Limit.Type = FixedDollars . Can consist of any of the following: PayPeriod Month Year Hour
ThresholdDecimal (13.2)Amount if expense is only payable when wages exceed a certain $$ per month.
ExemptionsarrayAn array of wage categories the expense category is exempt from.
Exemptions.UIDGuid (36)Unique payroll wage category identifier in the form of a guid.
Exemptions.NameString (31)Name of the payroll wage category.
Exemptions.TypeStringIndicates the type of payroll category ie: Wage, Deduction, Tax.
Exemptions.URIStringUniform resource identifier associated with the payroll wage 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": "a97de4a4-0be2-41a0-8e82-743a57c73df2",
  "Name": "WorkCover",
  "Type": "Expense",
  "ExpenseAccount": {
    "UID": "a1e93723-9ee3-4b47-9d3e-0f404778e733",
    "Name": "Employment Expenses",
    "DisplayID": "6-5200",
    "URI": "{cf_uri}/GeneralLedger/Account/a1e93723-9ee3-4b47-9d3e-0f404778e733"
  },
  "StpCategory": "NotReportable",
  "PayableAccount": {
    "UID": "02c3f70b-2570-4f2b-bd51-560c65ecb1df",
    "Name": "PAYG Withholdings Payable",
    "DisplayID": "2-1510",
    "URI": "{cf_uri}/GeneralLedger/Account/02c3f70b-2570-4f2b-bd51-560c65ecb1df"
  },
  "PrintOnPayAdvice": "true",
  "CalculationBasis\": {": {
    "Type": "PercentageOfPayrollCategory",
    "PercentageOf": "9.25",
    "PayrollCategory:": {
      "UID": "fd571691-d70f-4ba1-a383-43825f7290ec",
      "Name": "Gross Wages",
      "Type": "WagesGroup",
      "URI": "{cf_uri}/PayrollCategory/fd571691-d70f-4ba1-a383-43825f7290ec"
    },
    "FixedDollarsOf": "null",
    "AccrualPeriod": "null"
  },
  "Limit\": {": {
    "Type": "FixedDollars",
    "PercentageOf": "null",
    "PayrollCategory:": "null",
    "FixedDollarsOf": "350",
    "AccrualPeriod": "Month"
  },
  "Threshold": "0",
  "Exemptions": "null",
  "URI": "{cf_uri}/Payroll/PayrollCategory/Expense/a97de4a4-0be2-41a0-8e82-743a57c73df2",
  "RowVersion": "4991677236986773504"
}

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