QuickBooks Online
Quickbooksonline is a accounting platform. Advanced Form Integration sends form submissions to Quickbooksonline, so every form entry on your WordPress site can create or update records automatically without manual data entry.
What you’ll need
- An active Quickbooksonline account.
- A Quickbooksonline OAuth2 app (see below).
- The Advanced Form Integration plugin installed and activated.
Create a Quickbooksonline OAuth2 app
Quickbooksonline uses OAuth2 for API access. You need to register an app to get a Client ID and Client Secret.
- Sign in to the Quickbooksonline developer portal and create a new OAuth2 application.
- Copy the Redirect URI shown in the AFI Quickbooksonline settings tab and paste it into the app’s allowed redirect URIs.
- Note the Client ID and Client Secret.
- Paste them in AFI → Settings → Quickbooksonline and click Save & Authorize. After consent, AFI stores the token and refreshes it automatically.
Create the integration
- Go to AFI → Add New.
- Give the integration a name, for example
Form to Quickbooksonline. - Under Trigger, pick the form plugin and the specific form you want to listen on.
- Under Action → Platform, select Quickbooksonline.
- In Task, choose Create / Update Customer.
- Pick the saved account in the Quickbooksonline Account dropdown.
- Map your form fields onto the Quickbooksonline fields listed below.
- Optional: open Conditional Logic to limit which submissions are sent.
- Click Save Integration.
Tasks supported
Create / Update Customer
Creates a new customer record. The record appears in your dashboard immediately.
| Field | Field key | Required | Notes |
|---|---|---|---|
| Existing Customer ID (skips create | customer_id |
Yes | Required if no Company / First-Last combination is provided. Must be unique in QuickBooks. |
| First Name | given_name |
No | If empty |
| Document / Invoice Number | doc_number |
No | Example: [{“Amount”:100 |
| Send invoice email after create (true/false | send_email |
No |
Pro features
The Pro integration extends the free base with additional field mapping, custom field support, and other enhancements. Pro uses the same connection and tasks as the free version, so your existing integrations keep working.
| Feature | Free | Pro |
|---|---|---|
| Standard tasks | ✅ | ✅ |
| Standard field mapping | ✅ | ✅ |
| Custom field mapping | Limited | ✅ |
| Additional task variants | Limited | ✅ |
Conditional logic example
Only send data to Quickbooksonline when the form’s email field is not empty, so test submissions or incomplete entries do not create records. Add a condition: Email is not empty.
Troubleshooting
Nothing arrives in Quickbooksonline
Open AFI → Log and find the most recent entry for this integration. AFI stores the request it sent and the raw response it got back. If there is no log entry at all, the trigger never fired: re-check the form selection and submit a real test entry from the front end.
Connection lost
The OAuth2 token may have expired or been revoked. Return to AFI → Settings → Quickbooksonline and click Re-authorize to refresh the connection.