Forum Discussion

kjm's avatar
kjm
Trusted Cover User
4 years ago

Unable to populate Income Type using API

The  Income Type field does not seem to exist in the API under EmployeePayrollDetails. I want to set it to Salary and Wages

when querying in postman I get this as a result in the EmployeePayrollDetails

 

using 

/Contact/EmployeePayrollDetails/701a2fe3-de5b-47f7-866c-7ce1a8b91914

it returns. The tax category does not seem to relate to the Income Type

 "Tax": {
        "TaxFileNumber": "xxx xxx xxx",
        "TaxTable": {
            "UID": "67d45c9f-41fd-4fc7-89f1-d27d4fb577cf",
            "Name": "Tax Free Threshold",
            "URI": "http://myob-server:8080/AccountRight/6123f68f-aa73-4737-a26e-390362664d0a/Payroll/PayrollCategory/TaxTable/67d45c9f-41fd-4fc7-89f1-d27d4fb577cf"
        },
        "WithholdingVariationRate": 0.000000,
        "TotalRebatesPerYear": 0.000,
        "ExtraTaxPerPay": 0.000,
        "TaxCategory": {
            "UID": "47dc880e-f8bd-4bf7-a070-359e61b5f152",
            "Name": "PAYG Withholding",
            "Type": "Tax",
            "URI": "http://myob-server:8080/AccountRight/6123f68f-aa73-4737-a26e-390362664d0a/Payroll/PayrollCategory/Tax/47dc880e-f8bd-4bf7-a070-359e61b5f152"
        }
    },

Is it not available to populate? 

2 Replies

Replies have been turned off for this discussion
  • Hi kjm,

     

    Thanks for reaching out, Unfortunately this field is not available via the API and would need to be setup from the front end of the program. I have passed this on to our development team as a feature request. 

     

Looking for something else?

Search the Community Forum for answers or find your topic and get the conversation started!

Community home

Level up your skills using MYOB software.

 

Find help guides and technical solutions for all MYOB products here

Explore video tutorials for our software at the MYOB Academy here

 

Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.