Partner Zone
Partner Zone

Creating a Liability account on AccountRight API v2

Highlighted
ashled
2 Posts
User
ashled

2Posts

0Kudos

0Solutions

Creating a Liability account on AccountRight API v2

Hi Team,

 

I am using the AccountRight APIs to create a Liability Account using the API via direct REST APIs (not SDK)

https://developer.myob.com/api/accountright/v2/generalledger/account/#PUT

 

My POST Payload has

"Classification": "Liability",
 "Type": "Accounts Payable",

I get an error showing

400 - {"Errors":[{"Name":"SerializationError","Message":null,"AdditionalDetails":"Unexpected value for 'Type': Cannot convert 'Accounts Payable' to a valid value.","ErrorCode":50,"Severity":"Error","LearnMore":null}],"Information":"Warning, error messages have not been finalised in this release and may change"}"

However, I am able to create Expense accounts with both classisifcation and type as "Expense"

Is this a limitation with the API? Why cant I create Expense accounts?

Thanks
Ash

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