Skip to Content
AccountingKitDocs
Integrations

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.

Available

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

AreaSupport
AuthenticationWave OAuth 2.0, multi-business discovery/selection, refresh-token rotation, revocation
EligibilityRequires a Wave Pro or Wave Advisor subscription; a 403 moves to action_required
ReadsCached lists, live point reads, and live search across seven resource families
WritesNormalized customer contacts, invoices (draft or approved), and manual invoice payments
Read-only resourcesOrganizations (Business), accounts, tax rates (SalesTax), and quotes (Estimate)
SynchronizationIncremental sync on modifiedAtAfter (full sync for accounts) and hourly safety net
Webhooksx-wave-signature verified events with 5-minute replay window and live invoice refetch
Provider actionsInvoice PDF download (pdfUrl), online invoice URL (viewUrl), and unpaid delete
ReportsNot supported: Wave's public GraphQL API does not expose a Profit and Loss report

Supported resources and operations

ResourceWave GraphQL entityListGetCreateUpdateProvider actions
OrganizationsBusiness✓✓———
ContactsCustomer, Vendor✓✓✓✓—
AccountsAccount✓✓———
Tax ratesSalesTax✓✓———
QuotesEstimate✓✓———
InvoicesInvoice✓✓✓✓PDF, online URL, cancel (delete)
PaymentsInvoicePayment (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_data body 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/callback

Configure 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 match t)

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 eventWhat AccountingKit does
invoice.created, updated, sent, etc.Encodes the global invoice ID, reads the invoice live, and runs the pipeline.
invoice.deletedMarks the cached invoice deleted atomically in the same transaction.
estimate.*, checkout.*, othersRecorded 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_id must be a customer (Customer:<id>). Vendor contacts are rejected with 400.
  • external_reference maps to Wave's poNumber field.
  • Wave invoices default to draft. Passing status: "authorised" (or "AUTHORISED") approves the invoice through invoiceApprove. Paid or voided statuses cannot be set directly on write.
  • Every line needs unit_amount. Per-line discount_rate and account_code are not supported on Wave invoice items and are rejected with 400 rather 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 403 during token refresh and AccountingKit moves the connection to action_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-loss returns 400 with provider_unsupported.
  • Accounts full sync. Wave's business.accounts query does not accept modifiedAtAfter, so accounts always perform a full paginated sync with isArchived: null.
  • GraphQL HTTP 200 errors. Wave can return errors inside an HTTP 200 GraphQL response. AccountingKit inspects errors, rejects partial data, and maps extensions.code (UNAUTHENTICATED, FORBIDDEN, NOT_FOUND, BAD_USER_INPUT, RATE_LIMITED) to standard HTTP error codes.
  • PDF downloads. invoice.download_pdf fetches Wave's pdfUrl only after verifying it resolves to an HTTPS waveapps.com or wavecdn.com host.

For field-level detail, see Wave's API Reference, OAuth Guide, and Webhooks Setup Guide.

On this page