---
title: "Apply intercompany move processing to a transaction. The returned pair id reports staging, not posting: the runner applies the paired accounting after this command commits."
method: POST
path: "/v1/portfolios/{portfolioSlug}/transactions/{transactionId}/commands/ApplyIntercompanyMoveProcessingCommand"
tags: ["PortfolioTransactionCommands"]
---

# Apply intercompany move processing to a transaction. The returned pair id reports staging, not posting: the runner applies the paired accounting after this command commits.

`POST /v1/portfolios/{portfolioSlug}/transactions/{transactionId}/commands/ApplyIntercompanyMoveProcessingCommand`

## 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/{transactionId}/commands/ApplyIntercompanyMoveProcessingCommand`
- Auth: API key in header `x-api-key`

## Path parameters

- `transactionId` string, required
- `portfolioSlug` string, required

## Query parameters

- `mode` 'sync' | 'async'

## Request body

- object
  - `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)
