DepositAdd qbXML example
Records a deposit into a bank account.
qbXML
DepositAddRq, version 16.0
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="16.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<DepositAddRq>
<DepositAdd>
<TxnDate>2026-01-15</TxnDate>
<DepositToAccountRef>
<FullName>Checking</FullName>
</DepositToAccountRef>
<Memo>Opening deposit</Memo>
<DepositLineAdd>
<AccountRef>
<FullName>Opening Balance Equity</FullName>
</AccountRef>
<Memo>Opening deposit</Memo>
<Amount>5000.00</Amount>
</DepositLineAdd>
</DepositAdd>
</DepositAddRq>
</QBXMLMsgsRq>
</QBXML>
Open in the validator
Check it against the qbXML 16.0 schema, edit it, and run it in your own QuickBooks.
Things to know
- A deposit line either names an account and an amount, as here, or a payment waiting in Undeposited Funds by its PaymentTxnID.
- Write amounts with two decimals (40.00, not 40). QuickBooks refuses a whole-number amount with status 3040, though the schema allows it.
- A *Ref that names a record QuickBooks doesn't have answers 3120 when it gives a ListID and 3140 when it gives a FullName.
The same request with QuBe Sync's API
QuBe Sync takes this JSON, writes the qbXML for you and delivers QuickBooks' answer to your webhook as JSON.
POST
/api/v2/connections/{connection_id}/deposits
{
"deposit_line_add": [
{
"account_ref": {
"full_name": "Opening Balance Equity"
},
"amount": 5.0e3,
"memo": "Opening deposit"
}
],
"deposit_to_account_ref": {
"full_name": "Checking"
},
"memo": "Opening deposit",
"txn_date": "2026-01-15"
}
Every field DepositAdd takes is in Intuit's reference.
More requests
Accounting