Wave
Wave accounting API integration over GraphQL: seven resource families, OAuth 2.0 with Pro plan eligibility, invoice PDF/online URL/cancellation, and verified x-wave-signature webhooks.
Organizations, contacts, accounts, tax rates, quotes, invoices, and payments over Wave's GraphQL
API, with verified Wave webhooks.
Register your own Wave OAuth app in the console, then create a connect session with
wave.
Wave runs behind the same public API as Xero and QuickBooks Online. A Wave invoice, payment, or contact has the same response shape as its Xero equivalent, writes take the same normalized bodies, and Wave webhooks arrive at your endpoint as the same signed AccountingKit events.
Capability summary
| Area | Support |
|---|---|
| Authentication | Wave OAuth 2.0, multi-business discovery/selection, refresh-token rotation, revocation |
| Eligibility | Requires a Wave Pro or Wave Advisor subscription; a 403 moves to action_required |
| Reads | Cached lists, live point reads, and live search across seven resource families |
| Writes | Normalized customer contacts, invoices (draft or approved), and manual invoice payments |
| Read-only resources | Organizations (Business), accounts, tax rates (SalesTax), and quotes (Estimate) |
| Synchronization | Incremental sync on modifiedAtAfter (full sync for accounts) and hourly safety net |
| Webhooks | x-wave-signature verified events with 5-minute replay window and live invoice refetch |
| Provider actions | Invoice PDF download (pdfUrl), online invoice URL (viewUrl), and unpaid delete |
| Reports | Not supported: Wave's public GraphQL API does not expose a Profit and Loss report |
Supported resources and operations
| Resource | Wave GraphQL entity | List | Get | Create | Update | Provider actions |
|---|---|---|---|---|---|---|
| Organizations | Business | ✓ | ✓ | — | — | — |
| Contacts | Customer, Vendor | ✓ | ✓ | ✓ | ✓ | — |
| Accounts | Account | ✓ | ✓ | — | — | — |
| Tax rates | SalesTax | ✓ | ✓ | — | — | — |
| Quotes | Estimate | ✓ | ✓ | — | — | — |
| Invoices | Invoice | ✓ | ✓ | ✓ | ✓ | PDF, online URL, cancel (delete) |
| Payments | InvoicePayment (embed) | ✓ | ✓ | ✓ | — | — |
Wave exposes one Business record per connected business, so organizations returns a single
record for the selected Wave business. Contacts list both customers and vendors; a normalized
contact create always creates a Wave Customer, and updates apply to customer contacts only.
Provider IDs for contacts are namespaced as Customer:<id> and Vendor:<id>.
Wave's public GraphQL API does not expose a business-wide payment list query. AccountingKit
discovers payments from business.invoices (each invoice's embedded payments collection), fetches
individual payments by global ID through business.invoicePayment, and records manual payments with
invoiceManualPaymentCreate.
Per-connection capabilities are derived from the OAuth scopes Wave actually granted on the token. If
a connection lacks a scope for a resource or write operation, the capability manifest marks that
operation unavailable with missing_scope.
Not supported in this release
These resources and features report provider_unsupported in the connection capability manifest,
and a request for them returns 400:
- purchase orders and branding themes;
- Profit and Loss financial reports (
GET /v1/connections/:connection_id/reports/profit-and-loss); - provider-native writes: a
provider_databody is rejected for Wave connections; - quote and purchase-order PDFs and the organization deep link;
- deleting or updating paid invoices, or updating existing payments.
Set up your own Wave app
Every connection runs through a Wave OAuth app your organization registers and owns. Commercial third-party integrations require Wave approval before production launch.
Create the provider app draft
In the console, choose Test or Live, open Provider apps, and add Wave. AccountingKit creates a resumable draft and shows the exact OAuth redirect URI and webhook URL for it.
Create the Wave OAuth application
In the Wave Developer Portal, create an OAuth application and ensure your Wave test or production business is on an active Wave Pro or Wave Advisor plan (Starter accounts cannot authorize API connections).
Add the redirect URI
Add the OAuth redirect URI shown in the console to your Wave app's redirect URIs. It has this shape and must match exactly:
https://api.accountingkit.dev/connect/wave/callbackConfigure webhooks
In your Wave app's webhook settings, add the app-specific webhook URL shown in the console and
subscribe to invoice lifecycle events (invoice.created, invoice.updated, invoice.sent,
invoice.paid, invoice.deleted, invoice.payment.*):
https://api.accountingkit.dev/webhooks/wave/{provider_app_id}Store the credentials
Paste the Client ID, Client Secret, and Webhook Signing Secret into the console. They are encrypted before persistence and never returned; the console shows only short hints. Then connect a business and select Check setup: the first authorization proves the redirect and scopes, and the first signed delivery proves the webhook.
Connect a business
Create a connect session with "provider": "wave" and open the returned connect_url.
curl --request POST "https://api.accountingkit.dev/v1/connect-sessions" \
--header "Authorization: Bearer $ACCOUNTINGKIT_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"provider": "wave",
"external_account_id": "customer_123",
"redirect_uri": "https://app.example.com/integrations/wave/complete",
"provider_app_id": "the-app-id-from-the-console",
"retention_mode": "cached"
}'Omit provider_app_id to use the environment's default Wave app. If the authorized Wave user owns
multiple businesses (and Wave did not restrict the token to a single businessId), AccountingKit
presents a business picker before finalizing the connection. A business already connected under
another external account through the same provider app is rejected; reauthorizing the same
external_account_id updates the existing connection.
Wave webhooks
A Wave webhook is a signed change notification for an invoice, estimate, or checkout event. AccountingKit verifies the signature over the exact raw request bytes, checks the timestamp replay window, records the event, and acknowledges immediately without calling Wave inline. A durable operation then refetches the invoice from Wave and emits signed AccountingKit events to your endpoints.
Verifying x-wave-signature and x-wave-timestamp
Each delivery carries:
x-wave-signature:t=<unix-seconds>,v1=<hex-hmac-sha256>x-wave-timestamp:<unix-seconds>(must matcht)
The HMAC-SHA256 is computed over ${timestamp}.${rawBody} using your app's webhook signing secret
and compared in constant time. Deliveries outside Wave's five-minute replay window are rejected with
401 and nothing is stored.
From a Wave event to AccountingKit events
| Wave event | What AccountingKit does |
|---|---|
invoice.created, updated, sent, etc. | Encodes the global invoice ID, reads the invoice live, and runs the pipeline. |
invoice.deleted | Marks the cached invoice deleted atomically in the same transaction. |
estimate.*, checkout.*, others | Recorded as ignored; reconciled by scheduled sync without emitting an event. |
Wave dashboard deliveries include raw business and invoice IDs; AccountingKit encodes them into
Wave's GraphQL global IDs (Business:<id>;Invoice:<id>) before refetching the invoice. Invoice
changes flow through the same pipeline as Xero and QuickBooks Online, emitting invoice.updated,
invoice.payment_changed, and invoice.paid.
Writing invoices
Invoice writes take the normalized body. Wave requires a productId on every invoice line item, so
pass a Wave Product global ID in provider_options.wave.product_id. A write without it is
rejected with 400 before anything reaches Wave.
curl --request POST "https://api.accountingkit.dev/v1/connections/$CONNECTION_ID/invoices" \
--header "Authorization: Bearer $ACCOUNTINGKIT_API_KEY" \
--header "Idempotency-Key: invoice-order-10042" \
--header "Content-Type: application/json" \
--data '{
"external_reference": "order_10042",
"contact_id": "the-customer-contact-id",
"status": "DRAFT",
"due_date": "2026-12-31",
"line_items": [
{"description": "Implementation", "quantity": 1, "unit_amount": 1200}
],
"provider_options": {"wave": {"product_id": "QnVzaW5lc3M6MTtQcm9kdWN0OjE="}}
}'contact_idmust be a customer (Customer:<id>). Vendor contacts are rejected with400.external_referencemaps to Wave'spoNumberfield.- Wave invoices default to
draft. Passingstatus: "authorised"(or"AUTHORISED") approves the invoice throughinvoiceApprove. Paid or voided statuses cannot be set directly on write. - Every line needs
unit_amount. Per-linediscount_rateandaccount_codeare not supported on Wave invoice items and are rejected with400rather than silently dropped.
Payments
A normalized payment records a manual payment against one Wave invoice via
invoiceManualPaymentCreate:
{
"external_reference": "payout_8812",
"invoice_id": "the-invoice-id",
"account_id": "the-anchor-account-id",
"amount": 1200,
"date": "2026-11-22",
"provider_options": {
"wave": {
"payment_method": "BANK"
}
}
}provider_options.wave.payment_method defaults to OTHER and accepts BANK, CASH, CHEQUE,
CREDIT_CARD, PAYPAL, or OTHER. Payments cannot be updated through the API.
Cancellation
POST /v1/connections/:connection_id/invoices/:resource_id/cancel deletes an unpaid Wave invoice
through invoiceDelete and reports "cancellation_status": "deleted". Wave does not support
voiding an invoice with applied payments; cancelling a paid invoice returns 409.
Limitations and Wave facts
- Pro / Wave Advisor requirement. Wave restricts public API access to Pro and Wave Advisor
businesses. If a business's subscription lapses, Wave returns HTTP
403during token refresh and AccountingKit moves the connection toaction_required(subscription_inactive) instead of retrying it as a transient outage. - No Profit & Loss endpoint. Wave's public GraphQL API does not expose financial statements;
requesting
/reports/profit-and-lossreturns400withprovider_unsupported. - Accounts full sync. Wave's
business.accountsquery does not acceptmodifiedAtAfter, so accounts always perform a full paginated sync withisArchived: null. - GraphQL HTTP 200 errors. Wave can return errors inside an HTTP
200GraphQL response. AccountingKit inspectserrors, rejects partial data, and mapsextensions.code(UNAUTHENTICATED,FORBIDDEN,NOT_FOUND,BAD_USER_INPUT,RATE_LIMITED) to standard HTTP error codes. - PDF downloads.
invoice.download_pdffetches Wave'spdfUrlonly after verifying it resolves to an HTTPSwaveapps.comorwavecdn.comhost.
For field-level detail, see Wave's API Reference, OAuth Guide, and Webhooks Setup Guide.
FreshBooks
FreshBooks API integration with verified webhooks: OAuth 2.0 with single-use rotating refresh tokens, business/account discovery, canonical invoices, payments, contacts, taxes, and sync.
Sage Intacct
Sage Intacct REST API v1 integration: OAuth 2.0 with company discovery, incremental query sync, canonical writes with dimension options, and performance-tier budgeting.