Axiomatic
Finance

Intercompany

Intercompany transactions

Authentication

Authenticate with Authorization: Bearer ak_... — see API keys. Entity-scoped routes use entityId in the query or body; a mismatched entityId returns 403.

Endpoints

MethodPathDescription
GET/api/intercompany?entityId=List IC transactions
POST/api/intercompanyCreate IC transaction

List intercompany transactions

GET /api/intercompany?entityId={entityId}

Query params: entityId, counterpartyEntityId?, periodId?, status?, limit?, cursor?

Returns paginated intercompany transactions.

{
  "transactions": [
    {
      "id": "ic_abc123",
      "fromEntityId": "ent_1",
      "toEntityId": "ent_2",
      "amount": 50000,
      "currency": "USD",
      "status": "matched",
      "createdAt": "2025-01-15T12:00:00Z"
    }
  ],
  "nextCursor": "eyJpZCI6ImljX2FiYzEyMyJ9"
}

Create IC transaction

POST /api/intercompany

Body: { "entityId", "counterpartyEntityId", "amount", "currency", "memo?", "journalEntryId?" }