Send a document (receipt/invoice) to an accounting integration (Xero or QuickBooks). Requires integrationId and tenantId. Use listIntegrations to find available integrations. Set dryRun=true (default) to preview, dryRun=false to queue for sending.
API key prefixed with sk_. Obtain from the Receiptor AI dashboard.
The receipt/invoice document ID to send
The integration ID to send to (use listIntegrations to find)
The tenant/company ID (required for both Xero and QuickBooks)
If true, shows preview without sending. If false, queues the document for sending.