Overview
This reference covers the QuickBooks Online-specific endpoints and data types available through Sync2Books.Endpoints
Accounts
Get accounts
Retrieve chart of accounts from QuickBooks Online.Tax rates
Get tax rates
Retrieve tax rates from QuickBooks Online.Suppliers
Get suppliers
Retrieve vendors/suppliers from QuickBooks Online.Customers
Get customers
Retrieve customers from QuickBooks Online.Tracking categories
Get tracking categories
Retrieve tracking categories (classes, locations, etc.) from QuickBooks Online.Data types
Account
Tax rate
Supplier
Customer
Tracking category
Expense transaction mapping
QuickBooks Online expense structure
When syncing expenses to QuickBooks Online, they’re mapped to QuickBooks Purchase transactions:Supported operations
Create expense
Creates a Purchase transaction in QuickBooks Online. Endpoint:POST /expenses/{connectionId}
QuickBooks mapping:
merchantName→EntityRef.namebankAccountRef→AccountRef(payment account)lines[].accountRef→Line[].AccountBasedExpenseLineDetail.AccountReflines[].taxRateRef→Line[].AccountBasedExpenseLineDetail.TaxCodeRef
Upload attachment
Creates an Attachable in QuickBooks Online linked to the expense. Endpoint:POST /connections/{connectionId}/syncs/{syncId}/transactions/{transactionId}/attachments
QuickBooks mapping:
- File →
Attachable.AttachReflinked to Purchase transaction
Error codes
QuickBooks-specific errors
Rate limits
QuickBooks Online rate limits vary by subscription tier:- Simple Start: 500 API calls per minute
- Essentials: 500 API calls per minute
- Plus: 500 API calls per minute
- Advanced: 500 API calls per minute
Best practices
- Cache reference data - Store account, tax rate, and supplier IDs to reduce API calls
- Batch expenses - Create multiple expenses in a single request
- Handle errors gracefully - Implement retry logic for transient failures
- Monitor sync status - Always check sync batch status after creating expenses
- Use company-level defaults - Reduce transaction complexity
Read next
- QuickBooks Online overview - Learn about the integration
- Set up the QuickBooks Online integration - Configuration guide
- QuickBooks Online FAQs - Common questions