Using QuickBooks
Practical guide for working with QuickBooks invoices, reports, customers, and financial data through Fp Switchboard.
Quick Tips
Section titled “Quick Tips”- “Net Revenue” in reports = “Net Income” in standard accounting terminology
- Invoice line items reference Items, not Accounts directly
- Customer
DisplayNamemust be unique — duplicates cause creation failures - All dates must be ISO 8601 format (
YYYY-MM-DD) - One token per app per company — org members share the same connection automatically
Common Gotchas
Section titled “Common Gotchas”Net Revenue vs Net Income Critical
Section titled “Net Revenue vs Net Income ”QuickBooks reports show “Net Revenue” which equals “Net Income” in standard accounting.
| Example | |
|---|---|
| Wrong | User asks for “net income” — searching for that term fails |
| Correct | Look for “Net Revenue” in Profit and Loss reports |
Invoice Line Items Use Items Critical
Section titled “Invoice Line Items Use Items ”Invoice lines must reference Item objects, not Account objects directly.
| Example | |
|---|---|
| Wrong | {"Line": [{"AccountRef": {"value": "123"}}]} |
| Correct | {"Line": [{"SalesItemLineDetail": {"ItemRef": {"value": "1", "name": "Services"}}}]} |
Unique DisplayName Required Important
Section titled “Unique DisplayName Required ”Customer/Vendor DisplayName must be unique across all customers. Query customers first or append a unique identifier.
Error: Duplicate Name Exists Error
ISO 8601 Date Format Only Important
Section titled “ISO 8601 Date Format Only ”| Example | |
|---|---|
| Wrong | "TxnDate": "12/15/2024" |
| Correct | "TxnDate": "2024-12-15" |
One Token Per Company (Org Shared) Important
Section titled “One Token Per Company (Org Shared) ”Intuit enforces one OAuth token per app per QuickBooks company. Fp Switchboard stores QuickBooks credentials at the organization level — when one member connects, all org members can use that connection.
Multi-Step Patterns
Section titled “Multi-Step Patterns”Create Invoice
Section titled “Create Invoice”- Look up or create Customer (
DisplayNamemust be unique) - Look up Item for each line item (or create if needed)
- Create Invoice with
CustomerRefand Line items withItemRef
Run Financial Report
Section titled “Run Financial Report”- Determine report type (ProfitAndLoss, BalanceSheet, etc.)
- Set date range with
start_dateandend_date - Parse response — look for “Net Revenue” not “Net Income”
ID Format Reference
Section titled “ID Format Reference”| ID Type | Format | Example |
|---|---|---|
| Entity ID | Numeric string | "123" |
| Realm ID | Numeric string | 1234567890 |
Example Prompts
Section titled “Example Prompts”- “Show me the P&L for last quarter”
- “Create an invoice for Acme Corp for consulting services”
- “List all unpaid invoices”
- “What’s our current balance sheet?”
- “Find customer by name: Tech Solutions Inc”
Rate Limits
Section titled “Rate Limits”| Limit | Value |
|---|---|
| Requests per minute | 500 |
| Concurrent connections | 10 |
| Token refresh | Automatic (hourly expiry) |