Skip to content

Using QuickBooks

Practical guide for working with QuickBooks invoices, reports, customers, and financial data through Fp Switchboard.

  • “Net Revenue” in reports = “Net Income” in standard accounting terminology
  • Invoice line items reference Items, not Accounts directly
  • Customer DisplayName must 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

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
WrongUser asks for “net income” — searching for that term fails
CorrectLook 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.

  1. Look up or create Customer (DisplayName must be unique)
  2. Look up Item for each line item (or create if needed)
  3. Create Invoice with CustomerRef and Line items with ItemRef
  1. Determine report type (ProfitAndLoss, BalanceSheet, etc.)
  2. Set date range with start_date and end_date
  3. Parse response — look for “Net Revenue” not “Net Income”
ID TypeFormatExample
Entity IDNumeric string"123"
Realm IDNumeric string1234567890
  • “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”
LimitValue
Requests per minute500
Concurrent connections10
Token refreshAutomatic (hourly expiry)