Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Endpoints >

Are purchase and sales details account codes immutable?

Started by Frank Mullenger -   in API Endpoints

When creating an inventory item, I want to set the PurchaseDetails and SalesDetails AccountCodes. Are these immutable codes or are they tied to Accounts?

Also, if account codes are associated to accounts - what happens to an inventory item when an account is deleted and the account code along with it?
Nevermind, I found the chart of accounts under Settings :-)

Frank Mullenger