When creating an inventory Item we first need to know if we will be Buying, Selling or tracking the item as we will need to specify these when creating the item.
Please note when we have selected if we can Buy, Sell or Inventory the item this can not be changed at a later date and is locked in.
Select... | For... |
---|---|
I Buy This Item |
Items or services you want to include on an item purchase order.
This includes items that are not for resale, such as items for office use only. It can also include raw materials you use as components to build other inventory items.
|
I Sell This Item | Items or services you want to include on an item invoice. |
I Inventory This Item |
Items you buy or sell and whose quantity and values you want to track. It can also include intermediate goods used in the production process, such as parts used to manufacture finished goods.
Maintaining an accurate record of on-hand levels of these items requires you to do regular maintenance tasks. For example, you need to record inventory adjustments to write off damaged items or to record a stocktake.
Use only if you're running a perpetual inventory management system
|
Example of how this setting looks from the UI:
When Applying this to the API you can see in the body request below when the new item is created this has been selected to I Buy, I sell and I Inventory.
"IsBought": true,
"IsSold": true,
"IsInventoried": true,
This means we need to pass the linked accounts for this in the body request which is a required field when True is selected.
},
"IncomeAccount": {
"UID": "8d0e7f6d-da41-4c8c-8fbb-cc77f1e986d7",
"Name": "Sales - Spring Water",
"DisplayID": "4-1100"
},
"AssetAccount": {
"UID": "7fe0ea59-d595-4e58-9701-994f9f8ef8f6",
"Name": "Inventory",
"DisplayID": "1-1400"
},
"BuyingDetails": {
"LastPurchasePrice": 0.000000,
"StandardCost": 0.000000,
"BuyingUnitOfMeasure": "",
"ItemsPerBuyingUnit": 1.0,
"TaxCode": {
"UID": "62324ffa-0dd0-4429-bdb0-623289f1216d",
"Code": "GST"
Please see the body request example below you can POST or you can view our developer documentation for the required fields - /Inventory/Item/
POST
{
"Number": "P3526",
"Name": "Inventory Item",
"IsActive": true,
"Description": "",
"BaseSellingPrice": 0.000000,
"IsBought": true,
"IsSold": true,
"IsInventoried": true,
"ExpenseAccount": null,
"CostOfSalesAccount": {
"UID": "2d5f0fb5-d781-444e-889d-1f624b849f2f",
"Name": "Equipment",
"DisplayID": "5-1100"
},
"IncomeAccount": {
"UID": "8d0e7f6d-da41-4c8c-8fbb-cc77f1e986d7",
"Name": "Sales - Spring Water",
"DisplayID": "4-1100"
},
"AssetAccount": {
"UID": "7fe0ea59-d595-4e58-9701-994f9f8ef8f6",
"Name": "Inventory",
"DisplayID": "1-1400"
},
"BuyingDetails": {
"LastPurchasePrice": 0.000000,
"StandardCost": 0.000000,
"BuyingUnitOfMeasure": "",
"ItemsPerBuyingUnit": 1.0,
"TaxCode": {
"UID": "62324ffa-0dd0-4429-bdb0-623289f1216d",
"Code": "GST"
},
"RestockingInformation": {
"MinimumLevelForRestockingAlert": 0.0,
"Supplier": null,
"SupplierItemNumber": null,
"DefaultOrderQuantity": 0.0
},
"StandardCostTaxInclusive": true
},
"SellingDetails": {
"BaseSellingPrice": 0.000000,
"SellingUnitOfMeasure": "",
"ItemsPerSellingUnit": 1.0,
"TaxCode": {
"UID": "62324ffa-0dd0-4429-bdb0-623289f1216d",
"Code": "GST"
},
"IsTaxInclusive": false,
"CalculateSalesTaxOn": "ActualSellingPrice"
},
"LocationDetails": null,
"DefaultSellLocation": null,
"DefaultReceiveLocation": null
}
If you have any questions, feel to log a ticket with the Customisation & Integration Team.
Comments
0 comments
Article is closed for comments.