v3

latestOpenAPI 3.0.02026-07-31800117.7 KB
Capabilities

integrations.unlink

Unlink a document from an integration (supports Xero and QuickBooks). Set dryRun=true (default) to preview, including invoice details and orphaned attachments. Set dryRun=false to execute. This action is IRREVERSIBLE.

post/capabilities/integrations.unlink

Request body

documentIdstring required

The receipt history document ID

exportRecordIdstring required

The export record ID linking the document to the integration

dryRunboolean

If true, shows preview without making changes. If false, executes the unlinking.

Response

Successful response

successboolean
codeinteger

Example response

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