SolariumSolariumDocs
Browse The Docs

Docs/API Reference/Transactions

POST

Leave Out Of Management Reports

Marks a transaction to leave out of the Management View on reports (exclude: true), or puts it back (exclude: false). It stays in the books, sales tax and QuickBooks, and no amounts change. Works on any status. The set_management_view op does the same for several transactions at once over MCP.

Parameters

organizationIdUUID!required

Organization ID

eventIdUUID!required

Ledger event ID

excludeBoolean!required

true leaves it out of management reports

Request
mutation {
  setEventManagementView(
    organizationId: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    eventId: "c8d9e0f1-a2b3-4567-c890-def012345678"
    exclude: true
  ) {
    success
    event { id excludeFromManagement }
  }
}
Response
{
  "data": {
    "setEventManagementView": {
      "success": true,
      "event": { "id": "c8d9e0f1-a2b3-4567-c890-def012345678", "excludeFromManagement": true }
    }
  }
}