ItemService · Mod
simulated in sandboxItemServiceMod
Service items are labour and services you sell or buy. They carry either SalesOrPurchase (one account) or SalesAndPurchase (separate income and expense accounts).
qbXML request
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="13.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<ItemServiceModRq requestID="1">
<ItemServiceMod>
<ListID>80000019-1794870852</ListID>
<EditSequence>1777423380</EditSequence>
<SalesOrPurchase>
<Price>195.00</Price>
</SalesOrPurchase>
</ItemServiceMod>
</ItemServiceModRq>
</QBXMLMsgsRq>
</QBXML>JSON equivalent
{
"type": "service",
"editSequence": "1777423380",
"salesOrPurchase": {
"price": 195
}
}curl -X POST https://ledgerwire.vibiz.app/v1/items/80000019-1794870852 \
-H "Authorization: Bearer $LEDGERWIRE_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"service","editSequence":"1777423380","salesOrPurchase":{"price":195}}'Run this request against your own sandbox
Add and Mod requests change data, so they run in a private sandbox, not the shared demo. Get a free key (10 seconds), then POST the request above to /v1/qbxml.
qbXML response (from the sandbox seed data)
<?xml version="1.0" ?>
<QBXML>
<QBXMLMsgsRs>
<ItemServiceModRs requestID="1" statusCode="0" statusSeverity="Info" statusMessage="Status OK">
<ItemServiceRet>
<ListID>80000019-1794870852</ListID>
<TimeCreated>2026-04-29T00:43:00+00:00</TimeCreated>
<TimeModified>2026-04-29T00:43:00+00:00</TimeModified>
<EditSequence>1777423440</EditSequence>
<Name>Installation</Name>
<FullName>Installation</FullName>
<IsActive>true</IsActive>
<Sublevel>0</Sublevel>
<SalesOrPurchase>
<Price>195.00</Price>
</SalesOrPurchase>
</ItemServiceRet>
</ItemServiceModRs>
</QBXMLMsgsRs>
</QBXML>FAQ
Why does ItemServiceMod need EditSequence?
QuickBooks uses EditSequence for optimistic locking. Send the value from your last query; if someone changed the item since, QuickBooks answers 3200 and you re-read and retry.
Does ItemServiceMod replace the whole record?
No, only the elements you send change. Lines are the exception on transactions: send every line you want to keep with its TxnLineID, and TxnLineID -1 for new ones.
How do I call ItemServiceMod from JSON?
POST /v1/items/{id} with the editSequence and the fields to change. LedgerWire builds the ItemServiceModRq for you.
Sandbox fidelity
The LedgerWire sandbox simulates ItemServiceMod with QuickBooks rules: required fields, element names, refs that must exist (3140), unique names (3100), field lengths (3070) and EditSequence locking (3200). Tax calculation, custom fields and preferences are not simulated.
More ItemService messages
Skip the XML: call POST /v1/items/80000019-1794870852 with JSON.
Get a free sandbox key