---
title: "Apply intercompany move treatment to many pairs at once. Each returned row reports whether its pair was staged, not that its accounting was posted."
method: POST
path: "/v1/portfolios/{portfolioSlug}/transactions/commands/ApplyIntercompanyMovePairsBulkCommand"
tags: ["PortfolioTransactionCommands"]
---

# Apply intercompany move treatment to many pairs at once. Each returned row reports whether its pair was staged, not that its accounting was posted.

`POST /v1/portfolios/{portfolioSlug}/transactions/commands/ApplyIntercompanyMovePairsBulkCommand`

## Request

- Base URL: `https://api.tokenbooks.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tokenbooks.io/v1/portfolios/{portfolioSlug}/transactions/commands/ApplyIntercompanyMovePairsBulkCommand`
- Auth: API key in header `x-api-key`

## Path parameters

- `portfolioSlug` string, required

## Query parameters

- `mode` 'sync' | 'async'

## Request body

- object
  - `reason` string
  - `pairs` object[], required
    - `txId` string, uuid, required
    - `currentSide` 'SEND' | 'RECEIVE', required
    - `counterpartPortfolioId` integer, required
    - `counterpartPortfolioTransactionId` string, required
    - `treatment` 'OPERATING_FUNDING' | 'CARRYOVER_BASIS_TRANSFER', required
    - `reason` string

## Response `200`

- QueuedCommandResultDto
  - `mode` 'async', required: The command was accepted asynchronously
  - `jobId` string, required: Tracking job ID for the queued command
  - `status` 'queued', required: Queue admission status

---

[API](https://skmtc.dev/tokenbooks/apis/tokenbooks-public-api.md) · [All operations](https://skmtc.dev/tokenbooks/apis/tokenbooks-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tokenbooks/apis/tokenbooks-public-api/revisions/180622e6255e?raw)
