Nick Hammond
Nick Hammond

Reputation: 11419

What does ItemId refer to within a Bill line item

Bill docs: http://docs.developer.intuit.com/0025_Intuit_Anywhere/0050_Data_Services/v2/0400_QuickBooks_Online/Bill

I'm getting confusing errors back and trying to figure out what kind of item the ItemId refers to within a line item. Once I specify the amount on a line item it requires the ItemId to be specified but I'm not really sure what type of object it's looking for.

Does anyone know what type of ItemId is expected? Also, is there a list of the constants that are referenced in the documentation too? "SHIPPING_LINE_ID" and "DEPOSIT_LINE_ID" are both mentioned in description column.

Upvotes: 0

Views: 88

Answers (1)

Jarred Keneally
Jarred Keneally

Reputation: 1931

Nick,
It's an item object in QBO http://docs.developer.intuit.com/0025_Intuit_Anywhere/0050_Data_Services/v2/0400_QuickBooks_Online/Item

You reference the item that you are creating a bill for. If the item doesnt exist, you would need to create it first, then create a bill that references it.

thanks
Jarred

Upvotes: 2

Related Questions