Unable to populate Income Type using API

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
kjm
Trusted Cover User
160 Posts
Trusted Cover User
Australia
Trusted Cover User

160Posts

14Kudos

2Solutions

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? 

income tax category.JPG
income type.JPG
2 REPLIES 2
kjm
Trusted Cover User
160 Posts
Trusted Cover User
Australia
Trusted Cover User

160Posts

14Kudos

2Solutions

Re: Unable to populate Income Type using API

no-none?


anyone from myob confirm this is the case or not? @MYOB_API_Team @Hannah_B 

Hannah_B
MYOB Moderator
142 Posts
MYOB Moderator
Australia
MYOB Moderator

142Posts

33Kudos

25Solutions

Re: Unable to populate Income Type using API

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. 

 


Thanks,
@Hannah_B


MYOB API Specialist


MYOB API Support Centre|MYOB App Marketplace|MYOB AccountRight API Endpoint Doc's



Did my answer help?


Mark it as a Solution

Didn't find your answer here?

Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post