v3

latestOpenAPI 3.0.02026-07-31800117.7 KB
Capabilities

integrations.send

Send a document (receipt/invoice) to a supported accounting integration (Xero or QuickBooks). Requires integrationId. targetId is required for Xero/QuickBooks. Set dryRun=true (default) to preview, dryRun=false to queue for sending.

post/capabilities/integrations.send

Request body

documentIdstring required

The receipt/invoice document ID to send

integrationIdstring required

The integration ID to send to (use listIntegrations to find)

targetIdstring

Optional target ID from listIntegrations. Use for accounting tenants or companies.

dryRunboolean

If true, shows preview without sending. If false, queues the document for sending.

Response

Successful response

successboolean
codeinteger

Example response

{
  "success": true,
  "code": 200
}