Skip to content
Back to integrations

QuickBooks Online integration

Connect QuickBooks Online with OAuth 2.0. For carriers, approved demurrage charges become invoices; for fuel buyers, they become bills. Payments are kept in step both ways.

Early access

Pro plan

Carriers need Pro ($199 a month) to set this up; upgrade on Settings > Plan & billing. Fuel buyers get it free. See pricing.

Early access

Tested against each vendor's API format; we're completing live sandbox certification. Talk to us before relying on it for month-end.

How sync works

For a carrier, when a customer approves a demurrage record, Demurly creates one invoice to that customer in QuickBooks for exactly the approved amount. Payments sync in both directions. For a fuel buyer, the same approval becomes a bill from the carrier: see For fuel buyers.

For carriers: invoices in QuickBooks

What syncs

  • One invoice per approved record, dated the day it was approved, with the record number (DMR-…) as the invoice number
  • One non-taxable "Demurrage" service line describing the wait, the billable time and the rate. Demurly creates the item on your first income account if it doesn't exist
  • The customer: found by name, or created the first time
  • Payments made through Demurly (card, or confirmed paid outside Demurly) are recorded against the invoice
  • An invoice paid in QuickBooks marks the record paid in Demurly (checked every 10 minutes)

Safeguards and limits

  • Nothing is created twice: a retry finds what was already made
  • A payment that came from QuickBooks isn't sent back, and a paid invoice isn't paid twice
  • If the invoice total in QuickBooks differs from the approved amount (for example, tax added there), the sync fails with a message until you fix the invoice; then click Retry
  • Turn off Invoice approved records automatically to stop new invoices; payments for invoices already sent still sync
  • Records approved before you connected can be invoiced with Invoice them
  • No account mapping for invoices; QuickBooks webhooks aren't used (paid invoices are found by checking)

Prerequisites

  • A QuickBooks Online company you can sign in to and authorize apps for, with at least one income account
  • Admin access to your Demurly organization

Setup instructions

1

Connect QuickBooks

  1. Go to Settings > Connected systems
  2. Click Connect on the QuickBooks Online card
  3. Sign in to QuickBooks and choose your company
  4. Authorize Demurly (accounting scope)
  5. You're redirected back to Demurly
2

Check the connection

When you return, Demurly reads your QuickBooks company name. If that works, the card shows Connected and Configure shows the company name and realm ID. The connect event appears under Connection History. There is no separate Test button for QuickBooks. Carriers then see the QuickBooks sync card, with the last sync, recent invoices and payments, and Retry.

3

Disconnect (optional)

Click Disconnect on the card. Demurly revokes the tokens with Intuit, removes the stored credentials and stops syncing. To connect a different company, disconnect and connect again; invoices made in the old company aren't reused.

For fuel buyers: bills in QuickBooks

Free for fuel buyers

Fuel buyers connect QuickBooks Online the same way. Each charge you approve becomes a bill from the carrier, payments you make in Demurly are recorded against it, and a bill you pay in QuickBooks tells the carrier.

What syncs

  • On approval: one bill from the carrier for exactly the approved amount, dated the day you approved it. Bill no. is the carrier's invoice number; the memo has the record number, terminal, date, billed time and a link to the record
  • The carrier's invoice PDF, attached to the bill
  • Paid in Demurly: a bill payment against the bill (a check from your bank account, or a credit card payment)
  • Paid in QuickBooks: within about 10 minutes the charge shows as paid outside Demurly, with the QuickBooks check number, and the carrier confirms the money arrived
  • Each record says where it is: "In QuickBooks as Bill 1042"

What doesn't sync

  • Changes to a bill made in QuickBooks; a voided or deleted bill is noted on the record and the charge is left as it is
  • Tax codes, classes and locations. If tax is added in QuickBooks, the total won't match and the sync stops with a message until you fix it

What QuickBooks needs

  • A QuickBooks Online company (QuickBooks Desktop isn't supported), connected by a company admin or a user who can add bills, vendors and attachments
  • A vendor for each carrier, or Create vendors turned on so Demurly adds them
  • Optional: an expense account (empty uses the account on the vendor's last bill) and a payment account (empty uses your only bank account)

Set it up

  1. Go to Settings > Connected systems and connect QuickBooks Online.
  2. On the QuickBooks bills card, map each carrier to its vendor (Pick vendor, search, Use this vendor). Bills for an unmapped carrier wait and go in as soon as you map it.
  3. Fill in the expense account, payment account and payment terms if you want them, and choose the switches: create bills, create vendors, skip charges sent by EDI 210, check for bills paid in QuickBooks.
  4. Charges approved before you connected: Bill earlier charges on the bills card. Pick a start date (the day you connected, unless you change it) and Demurly shows how many it will bill first. Charges you already paid are left out unless you tick Also bill charges you already paid; then each is billed with its payment recorded.

Security

  • OAuth 2.0 authentication (your QuickBooks password is never shared with Demurly)
  • Tokens encrypted at rest with AES-256-GCM
  • Automatic token refresh
  • Connect and disconnect events are logged in Connection History

Having issues?

Check the Troubleshooting guide for common QuickBooks integration issues and solutions.

Need help?

Contact support@demurly.com or use the in-app feedback button for assistance.

Contact support