Управление расчётом налоговой базы в TRES Finance: статус, стратегии FIFO/LIFO/AVG, пересчёт, сверка и правила списания лотов.

Звёзды4 915
Авторanthropics
Установок62

Установка

SKILL.md

TRES Finance — Cost Basis Management

End-to-end skill for managing cost basis calculation, strategy configuration, reevaluations, financial issue review, and related operations in TRES Finance.


MCP Server

All calls use the user-tres-finance MCP server (the TRES Finance MCP connector).

All variable keys and nested input fields MUST use camelCase (e.g. assetClassId, not asset_class_id).


Step 1 — Authenticate and confirm org

Call get_viewer with no arguments. Confirm the org name with the user if there is any ambiguity.


Step 2 — Ensure a cost basis strategy is defined (gate before calculation)

Before any cost basis calculation can run, the organization must have a strategy defined. This step is a prerequisite gate — run it automatically whenever the user wants to calculate cost basis (Section D), or when they first ask for help with cost basis.

  1. Fetch the current strategy using the query in Section B.

  2. If defaultStrategy is returned (any valid value like FIFO, LIFO, etc.), the strategy is already set — skip ahead and inform the user:

    "Your cost basis strategy is set to [STRATEGY]. Proceeding."

  3. If no strategy is configured (the query returns null or an error), present the user with all available methods and ask them to choose:

    "Before calculating cost basis, you need to choose a costing method. Here are the available strategies:

    1. FIFO — First-in, first-out. Earliest acquired lots are disposed first. The most common method.
    2. LIFO — Last-in, first-out. Most recently acquired lots are disposed first.
    3. AVG — Weighted average cost across all lots.
    4. MAX_GAINS — Disposes lowest-cost lots first, maximizing realized gains.
    5. MAX_LOSSES — Disposes highest-cost lots first, maximizing realized losses (useful for tax-loss harvesting).
    6. FIFO_IMPAIRMENT — FIFO with impairment accounting support (for orgs using impairment write-downs).

    Which method would you like to use?"

  4. Once the user picks a strategy, set it using the mutation in Section C (with an empty strategyPeriods array if they just want a single default).

  5. Then proceed to the requested operation (typically Section D — trigger calculation).

This gate ensures no calculation runs without an explicit strategy choice.


Step 3 — Run cost basis calculation

After confirming strategy, check the current calculation status (Section A) and offer to run or re-run the calculation:

  1. Fetch status using the query in Section A.
  2. If status is IN_PROGRESS, inform the user it's already running and offer to wait:<!-- -->

    "Cost basis calculation is currently in progress (started at [time]). Would you like me to wait for it to finish?"

  3. If status is DONE, show when it last ran and ask:<!-- -->

    "Cost basis was last calculated on [lastFinishedAt]. Would you like to recalculate now, or view the existing results?"

  4. If status is ITEM_NOT_FOUND, this org has never calculated — proceed directly to trigger.
  5. When the user confirms (or on first-time run), trigger the calculation using the mutation in Section D.
  6. Poll status every ~10 seconds until status = "DONE".
  7. Once done, automatically proceed to show results per asset (Section E) and financial issues (Section F).

This step ensures the user always has fresh results and understands the calculation state before viewing data.


Available operations

Based on the user's request, follow the appropriate section below. Many users will come in with a general question like "help me with cost basis" — in that case, run Steps 1–3 (authenticate, check strategy, run calculation), then show results.


A. Check cost basis calculation status

Use this when the user asks whether cost basis is running, done, or when it last ran.

query CostBasisGetStatus {
  costBasisGetStatus {
    status
    firstStartedAt
    lastFinishedAt
    updatedAt
  }
}

status values: DONE, IN_PROGRESS, ITEM_NOT_FOUND (never calculated).

Report the status clearly. If IN_PROGRESS, let the user know it's still running and they should wait. If DONE, report when it last finished.


B. View current cost basis strategy

Fetches the default strategy and any date-specific strategy overrides.

query GetCostBasisStrategyByDate {
  getCostBasisStrategyByDate {
    response {
      strategyPeriods {
        startDate
        endDate
        strategy
      }
      defaultStrategy
    }
  }
}

Present the default strategy and any period overrides clearly. Strategies: FIFO, LIFO, AVG, MAX_GAINS, MAX_LOSSES, FIFO_IMPAIRMENT.

Explain what each means if the user asks:

  • FIFO — First-in, first-out. Earliest acquired lots are sold first.
  • LIFO — Last-in, first-out. Most recently acquired lots are sold first.
  • AVG — Weighted average cost across all lots.
  • MAX_GAINS — Sells lowest-cost lots first, maximizing realized gains.
  • MAX_LOSSES — Sells highest-cost lots first, maximizing realized losses (tax-loss harvesting).
  • FIFO_IMPAIRMENT — FIFO with impairment accounting support.

C. Update cost basis strategy

Use when the user wants to change the default strategy or set strategy periods.

Always confirm with the user before executing — changing strategy affects all future cost basis calculations and requires a recalculation.

mutation UpdateCostBasisStrategyByDate(
  $defaultStrategy: CostBasisStrategy!,
  $strategyPeriods: [CBStrategyPeriodInput]!
) {
  updateCostBasisStrategyByDate(
    defaultStrategy: $defaultStrategy,
    strategyPeriods: $strategyPeriods
  ) {
    success
    message
  }
}

Variables example:

{
  "defaultStrategy": "FIFO",
  "strategyPeriods": [
    {
      "startDate": "2024-01-01T00:00:00Z",
      "endDate": "2024-12-31T23:59:59Z",
      "strategy": "LIFO"
    }
  ]
}

CostBasisStrategy enum values: FIFO, FIFO_IMPAIRMENT, LIFO, AVG, MAX_GAINS, MAX_LOSSES.

If updating to a period-based config, first fetch the existing periods (Section B) so you don't accidentally overwrite them — the mutation replaces ALL periods.

After a successful strategy change, ask the user if they want to trigger a cost basis recalculation (Section D).


D. Trigger cost basis calculation

Prerequisite: Before triggering, run Step 2 (strategy gate) to ensure a strategy is defined. If none is set, the user must choose one first.

Starts (or restarts) the cost basis calculation. Can target specific assets or recalculate everything.

mutation TriggerCostBasis($assetClassIds: [Int]) {
  triggerCostBasis(assetClassIds: $assetClassIds) {
    success
  }
}
  • To recalculate everything: pass assetClassIds: null (or omit it).
  • To recalculate specific assets: pass an array of asset class IDs, e.g. [42, 88].

To find asset class IDs, query assetBalance or assetClass first:

query AssetClasses($limit: Int) {
  assetClass(limit: $limit) {
    results { id symbol name }
  }
}

After triggering — poll until completion

After a successful trigger (success: true), poll the status using the query from Section A. The calculation typically takes 10–60 seconds for small orgs but can take minutes for large ones.

1. Trigger → success: true
2. Poll costBasisGetStatus every ~10 seconds
3. When status = "DONE" → proceed to show results (Section E)

Do NOT present results or offer report downloads until status is DONE. While IN_PROGRESS, show a brief wait message to the user.


E. View cost basis results per asset

Shows the cost basis breakdown per asset-wallet pair — total cost, realized gains, COGS, running inventory, and more.

Important: Use the assetBalance query (NOT organizationBalance). The assetBalance query returns per-wallet asset rows, each with a nested costBasis field from FifoCostBasisQuery.

query AssetBalanceWithCostBasis($limit: Int, $offset: Int) {
  assetBalance(limit: $limit, offset: $offset) {
    totalCount
    results {
      asset {
        symbol
        name
      }
      belongsTo {
        name
      }
      calculatedBalance
      assetFifoCostBasis
      totalProfitLoss
      costBasis {
        costBasis
        totalRealizedGains
        totalShortTermRealizedGains
        totalLongTermRealizedGains
        totalCost
        totalRunningInventoryQuantity
        cogs
        proceeds
        runningBalance
      }
    }
  }
}

Variables: {"limit": 50, "offset": 0}

Paginate if totalCount > 50 — increment offset by 50 and fetch again until all results are retrieved.

Key fields explained

  • assetFifoCostBasis — The total cost basis for this asset-wallet pair (top-level shortcut).
  • totalProfitLoss — Total realized P&L (top-level shortcut).
  • costBasis — Nested object with full detail (null if not calculated):<!-- -->
    • costBasis / totalCost — Total cost of current inventory.
    • totalRealizedGains — Net realized gains/losses.
    • totalShortTermRealizedGains / totalLongTermRealizedGains — Split by holding period.
    • cogs — Cost of goods sold for disposals.
    • proceeds — Total proceeds from disposals.
    • totalRunningInventoryQuantity — Current inventory quantity.
    • runningBalance — Running token balance.

Presenting results — the full picture

After fetching all pages, split the results into two groups:

Group 1 — Assets with cost basis data (costBasis is not null): Present as a table sorted by absolute realized P&L descending, with columns: Asset, Wallet, Holdings, Cost Basis ($), Realized P&L ($). Use color coding: green/+ for gains, red/- for losses.

Group 2 — Assets without cost basis (costBasis is null AND calculatedBalance != 0): These are assets where cost basis was NOT calculated — usually because of missing fiat values, no transactions, or unverified/spam assets. Present them separately under a clear heading like:

Assets without cost basis data: The following assets have balances but no cost basis calculated. This typically means they have missing fiat prices that need to be resolved before cost basis can be computed.

Show: Asset, Wallet, Holdings, and a note about likely cause (spam token, NFT, missing fiat, etc.).

Always show both groups so the user sees the complete picture. If Group 2 contains any non-trivial assets (not spam/virtual), also run the financial issues query (Section F) filtered to HIGH severity to check for missing_fiat issues, and report them alongside.

When missing fiat issues are found, automatically look up historical prices using the pricing query (Section G.1) for each affected asset at the transaction timestamp. Present the looked-up prices to the user and offer to apply them using bulk fiat edit (Section G.2).

Recommended: Generate an HTML dashboard file with styled tables for both groups plus a financial issues summary. Save it to the outputs folder and share the link with the user.

Use standard number formatting:

  • Fiat values >= $1M: "$X.XXXM", >= $1K: "$X.XXK", else "$X.XX"
  • Positive gains: "+" prefix, negative: "-" prefix

F. View financial issues

Financial issues are problems detected during cost basis calculation — negative balances, missing fiat values, circular transfers, etc.

query FinancialIssues($limit: Int, $offset: Int, $severity: String) {
  financialIssue(limit: $limit, offset: $offset, severity: $severity) {
    totalCount
    results {
      id
      type
      severity
      message
      balanceImpact
      assetClass {
        id
        symbol
        name
      }
      assetClassId
      internalAccount {
        name
      }
      internalAccountId
      tx {
        identifier
        timestamp
      }
      subTx {
        id
        amount
      }
    }
  }
}

Filter options

Important: Filter values must be lowercase — the API uses DB-stored values.

  • severity: "high", "medium", "low"
  • Do NOT filter by type directly in the query — instead, fetch all issues and filter/group in the presentation. The type filter uses internal DB values that may not match the display names.

Actual issue types returned

The type field returns lowercase strings like:

  • missing_fiat — Sub-transaction has no fiat price. Affects cost basis accuracy. Can be resolved with bulk fiat edit (Section G).
  • negative_balance — Inventory went below zero (more sold than acquired). Usually means missing inflow transactions.
  • result_was_rounded — Minor rounding occurred during calculation. Low severity.
  • ignored — Sub-transaction was skipped (e.g. internal transfer to same account).
  • no_opposite_tx — Internal transfer has no matching counterpart.
  • circular_internal_sbxs — Circular dependency in internal transfer matching.

Group results by severity and present HIGH issues first. The most common pattern is a handful of HIGH severity missing_fiat issues plus many LOW severity result_was_rounded issues — summarize the LOW ones as a count rather than listing each individually.


G. Fix missing fiat values

This is a two-part flow: first look up historical prices, then apply them.

G.1 — Look up historical token prices

Use the TRES MCP pricing queries to fetch historical prices for tokens with missing fiat values. This uses the platform's pricing engine which aggregates from CoinGecko, CoinMarketCap, exchanges, and other sources.

For a single asset at a specific timestamp:

query GetStatelessPricing(
  $platform: Platform!,
  $assetIdentifier: String!,
  $currencies: [Currency]!,
  $timestamp: DateTime
) {
  getStatelessPricing(
    platform: $platform,
    assetIdentifier: $assetIdentifier,
    currencies: $currencies,
    timestamp: $timestamp
  ) {
    prices
    assetClassId
    symbol
  }
}

Variables example:

{
  "platform": "ETHEREUM",
  "assetIdentifier": "0x...contractAddress",
  "currencies": ["USD"],
  "timestamp": "2020-11-24T09:01:26Z"
}

For multiple assets at once (by asset class ID):

query GetBatchPricing($requests: [GetBatchPricesByAssetClassRequest]!) {
  getBatchStatelessPricingByAssetClass(requests: $requests) {
    prices
    assetClassId
    symbol
  }
}

Variables example:

{
  "requests": [
    {
      "assetClass": "4272",
      "currencies": ["USD"],
      "timestamp": "2018-06-18T19:13:45Z"
    },
    {
      "assetClass": "4272",
      "currencies": ["USD"],
      "timestamp": "2020-11-24T09:01:26Z"
    },
    {
      "assetClass": "9082",
      "currencies": ["USD"],
      "timestamp": "2020-11-27T20:06:54Z"
    }
  ]
}

The prices field returns a JSON object like {"usd": 0.015}.

How to use this in the missing fiat flow:

  1. From the financial issues (Section F), collect each missing_fiat issue's assetClass.id and tx.timestamp.
  2. Call getBatchStatelessPricingByAssetClass with one request per issue.
  3. Present the results to the user:<!-- -->

    "I found historical prices for the missing fiat transactions:

    • CHSB on 2018-06-18: $0.015 per token
    • CHSB on 2020-11-24: $0.085 per token
    • vBUSD on 2020-11-27: $0.021 per token

    Would you like me to apply these prices?"

  4. If the user confirms, apply them using Section G.2 (bulk fiat edit).

Pricing sources to try: If the default source returns empty, try these apiSource values in order: COINMARKETCAP, CRYPTO_COMPARE, REGULAR_FLOW, COINBASE, BINANCE, KRAKEN. Pass the apiSource field in the request:

{
  "requests": [
    { "assetClass": "4272", "currencies": ["USD"], "timestamp": "2020-11-24T09:01:26Z", "apiSource": "COINMARKETCAP" }
  ]
}

Important: The pricing query returns prices: {} (empty object) when no price data is available — this is common for obscure, delisted, or DeFi-wrapped tokens. Try multiple sources before giving up.

If ALL pricing sources return empty for a token, inform the user and ask them to provide a manual price. Suggest approximate values if you know the token (e.g. BUSD-pegged tokens ≈ $1.00).

G.2 — Bulk fiat value edit

Override fiat unit prices for an asset across a date range. Useful for fixing MISSING_FIAT issues or correcting OTC prices.

Always confirm parameters with the user before executing — записывает фиатные значения в потенциально множество субтранзакций.

mutation BulkFiatEdit(
  $assetClassId: Int!,
  $currency: Currency!,
  $startDate: Date!,
  $endDate: Date!,
  $unitPrice: Float!,
  $updateExistingFiat: Boolean
) {
  bulkFiatEdit(
    assetClassId: $assetClassId,
    currency: $currency,
    startDate: $startDate,
    endDate: $endDate,
    unitPrice: $unitPrice,
    updateExistingFiat: $updateExistingFiat
  ) {
    success
    message
  }
}

Пример переменных:

{
  "assetClassId": 42,
  "currency": "USD",
  "startDate": "2024-01-01",
  "endDate": "2024-01-31",
  "unitPrice": 1.0,
  "updateExistingFiat": false
}
  • updateExistingFiat: false (по умолчанию) — заполняет только отсутствующие фиатные значения.
  • updateExistingFiat: true — перезаписывает все фиатные значения в диапазоне.

Чтобы найти assetClassId, сначала запросите assetClass по символу.

При применении цен из G.1 используйте найденную удельную цену и задайте диапазон дат строго вокруг даты транзакции (тот же день для startDate и endDate), чтобы не перезаписать цены других транзакций.

После массовых правок фиатных значений предложите пользователю запустить пересчёт налоговой базы (раздел D).


H. Переоценки и обесценения

Переоценки корректируют справедливую рыночную стоимость (FMV) партий запасов на определённый момент времени. Обесценения — особый случай, когда FMV опускается ниже себестоимости.

H.1 — Список переоценок

query GetReevaluations($limit: Int, $offset: Int, $assetClassId_In: [ID]) {
  reevaluation(
    limit: $limit,
    offset: $offset,
    assetClassId_In: $assetClassId_In,
    ordering: "-timestamp"
  ) {
    totalCount
    results {
      id
      timestamp
      unitPrice
      currency
      isImpairment
      assetClass {
        id
        symbol
      }
      appliedCostBasis {
        id
        totalCost
        revaluedCostAdjustment
        internalAccount {
          id
          name
        }
      }
    }
  }
}

H.2 — Создать переоценку

Всегда подтверждайте у пользователя перед выполнением.

mutation CreateReevaluation($reevaluations: [ReevaluationObjectType]!) {
  createReevaluation(reevaluations: $reevaluations) {
    reevaluationIds
  }
}

Пример переменных:

{
  "reevaluations": [
    {
      "unitPrice": "45000.00",
      "timestamp": "2024-12-31T23:59:59Z",
      "assetClassId": 1,
      "currency": "USD",
      "isImpairment": false
    }
  ]
}
  • isImpairment: false — стандартная переоценка (mark-to-market).
  • isImpairment: true — списание при обесценении.

Создание переоценки также создаёт ручную транзакцию для отражения корректировки в реестре. Сообщите пользователю об этом побочном эффекте.

После создания предложите запустить пересчёт налоговой базы (раздел D).

H.3 — Обновить переоценку

mutation UpdateReevaluation(
  $reevaluationId: Int!,
  $unitPrice: Decimal!,
  $timestamp: DateTime!,
  $assetClassId: Int!,
  $currency: Currency!
) {
  updateReevaluation(
    reevaluationId: $reevaluationId,
    unitPrice: $unitPrice,
    timestamp: $timestamp,
    assetClassId: $assetClassId,
    currency: $currency
  ) {
    status
  }
}

H.4 — Удалить переоценку

mutation DeleteReevaluation($reevaluationId: Int!) {
  deleteReevaluation(reevaluationId: $reevaluationId) {
    status
  }
}

Удаление также удаляет связанную ручную транзакцию из реестра.


I. Правила Spec-ID (выбытие конкретных партий)

Правила Spec-ID позволяют пользователю точно указать, какую партию приобретения использовать при выбытии актива — переопределяя стратегию по умолчанию (например, FIFO) для конкретных транзакций.

I.1 — Просмотр правил Spec-ID

query CostBasisSpecIdRules(
  $limit: Int,
  $offset: Int,
  $outflowSubTransaction_In: [String]
) {
  costBasisSpecIdRule(
    limit: $limit,
    offset: $offset,
    outflowSubTransaction_In: $outflowSubTransaction_In
  ) {
    totalCount
    results {
      id
      outflowSubTransaction {
        id
        amount
        timestamp
        asset { symbol }
        belongsTo { name }
      }
      disposedLotSubTransaction {
        id
        amount
        timestamp
      }
      amountToDispose
      priority
    }
  }
}

I.2 — Задать правила Spec-ID

Всегда подтверждайте у пользователя перед выполнением. Это заменяет все существующие правила для данной субтранзакции оттока.

mutation SetSpecIdRules(
  $subTransactionId: ID!,
  $specIdRules: [SpecIdRuleInput]!
) {
  setSpecIdRules(
    subTransactionId: $subTransactionId,
    specIdRules: $specIdRules
  ) {
    success
  }
}

Пример переменных:

{
  "subTransactionId": "12345",
  "specIdRules": [
    {
      "disposedLotSubTransactionId": "67890",
      "amount": 1.5,
      "priority": 1
    },
    {
      "disposedLotSubTransactionId": "67891",
      "amount": 0.5,
      "priority": 2
    }
  ]
}
  • subTransactionId — субтранзакция оттока (выбытия)
  • disposedLotSubTransactionId — субтранзакция притока (приобретения), используемая как партия затрат
  • amount — сколько из этой партии выбывает
  • priority — порядок обработки (1 = первый)

После задания правил предложите запустить пересчёт налоговой базы (раздел D).

I.3 — Удалить правила Spec-ID

mutation DeleteSpecIdRules($subTransactionId: ID!) {
  deleteSpecIdRules(subTransactionId: $subTransactionId) {
    success
  }
}

J. Полная конфигурация запасов

По умолчанию TRES обрезает старые партии запасов для экономии места. Для конкретных транзакций, где пользователю нужна полная видимая очередь запасов, включите полное сохранение запасов.

mutation SetFullCostBasisInventoryConfiguration(
  $subTransactionId: ID,
  $enableFullInventory: Boolean
) {
  setFullCostBasisInventoryConfiguration(
    subTransactionId: $subTransactionId,
    enableFullInventory: $enableFullInventory
  ) {
    success
  }
}

Это удаляет существующие записи налоговой базы для затронутого актива и автоматически запускает пересчёт.


K. Экспорт отчётов по налоговой базе

TRES предлагает несколько типов отчётов по налоговой базе. Используйте запрос availableReportTypes чтобы найти доступные экспорты, затем запустите через organizationBalance:

query AvailableReports {
  availableReportTypes {
    name
    exportType
    entitiesType
    llmDescription
  }
}

Типы отчётов, связанных с налоговой базой, включают:

  • COST_BASIS_STACK_PER_ACCOUNT — партии запасов с группировкой по кошельку
  • COST_BASIS_STACK_PER_ASSET — партии запасов с группировкой по активу
  • COST_BASIS_INVENTORY — полная детализация запасов
  • COST_BASIS_ROLL_FORWARD — скользящий итог по периодам
  • REEVALUATION — записи переоценок

Для экспорта используйте organizationBalance с параметрами экспорта:

query ExportCostBasisReport(
  $exportName: String,
  $exportFormat: String,
  $currency: String,
  $outputFormat: ReportOutputFormat
) {
  organizationBalance(
    exportName: $exportName,
    exportFormat: $exportFormat,
    currency: $currency,
    outputFormat: $outputFormat
  ) {
    totalCount
  }
}

Пример переменных:

{
  "exportName": "Cost Basis Stack Per Asset - April 2024",
  "exportFormat": "COST_BASIS_STACK_PER_ASSET",
  "currency": "usd",
  "outputFormat": "XLSX"
}

Затем опрашивайте запрос report пока status = "DONE" и предоставьте ссылку на скачивание:

query Reports($limit: Int, $offset: Int) {
  report(limit: $limit, offset: $offset, ordering: "-created_at") {
    totalCount
    results {
      id
      name
      status
      downloadUrl
      createdAt
    }
  }
}

Критично: НЕ показывайте ссылку на скачивание, пока статус IN_PROGRESS — файл ещё не записан в S3, и ссылка вернёт ошибку NoSuchKey. Опрашивайте примерно каждые 10 секунд, пока статус не станет "DONE", затем предоставьте downloadUrl пользователю.


Ограничения

  • Подтверждение перед записью: Всегда подтверждайте у пользователя перед выполнением любого изменения (смена стратегии, переоценка, правила Spec-ID, массовая правка фиатных значений, запуск расчёта).
  • Напоминание о пересчёте: После любого изменения конфигурации (стратегия, переоценка, Spec-ID, правка фиатных значений) напоминайте пользователю, что для вступления изменений в силу необходимо пересчитать налоговую базу.
  • Заблокированные периоды: Если изменение завершается ошибкой "locked period", сообщите пользователю, что временная метка попадает в заблокированный учётный период и, возможно, его нужно сначала разблокировать.
  • Проверка статуса перед запуском: Перед запуском пересчёта проверьте текущий статус — если уже IN_PROGRESS, сообщите пользователю, что он всё ещё выполняется.

Ограничения — недоступно через MCP

Следующие функции налоговой базы существуют в бэкенде, но НЕ доступны через MCP GraphQL API, поэтому этот навык не может их выполнять:

  1. Процесс перераспределения по кошелькам — Двухфазный процесс перераспределения (единый инвентарь -> разбивка по кошелькам) является внутренней операцией бэкенда, запускаемой настройками организации, и не вызывается напрямую через API.

  2. Просмотр деталей необработанной очереди запасов — Поле assetRunningQueueFifo доступно в FifoCostBasisQuery , но возвращает большие JSON-блоки. Данные очереди лучше просматривать через панель TRES или через экспортированные отчёты (COST_BASIS_STACK_PER_ACCOUNT / COST_BASIS_STACK_PER_ASSET).

  3. Управление короткими позициями / очередью займов — Отслеживание коротких позиций (очередь займов) настраивается на уровне организации и вычисляется автоматически. Прямого API для просмотра или управления очередью займов нет.

  4. Внутреннее устройство расчёта налоговой базы — Фактический движок расчёта (CostBasisCalculator, CostBasisManager) работает на сервере. Мы можем запускать его и читать результаты, но не можем управлять внутренним потоком расчёта, кэшированием или сохранением очереди в S3.

  5. Сопоставление налоговой базы при внутренних переводах — То, как налоговая база переносится между кошельками при внутренних переводах, происходит автоматически и не настраивается для отдельных транзакций через API.

Для любого из этих пунктов направьте пользователя в панель TRES Finance или предложите экспортировать соответствующий отчёт по налоговой базе для офлайн-анализа.

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: tres-cost-basis](https://darkplay.ru/ai/skills/anthropics-claude-plugins-community-tres-cost-basis)

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

Harness Optimizeraffaan-m · Анализирует и улучшает конфигурацию локального агентного харнесса по надёжности и цене.
225 587 ★
ruflo-cost-trackerruvnet · Отслеживание расхода токенов, атрибуция затрат на модели по агентам, оповещения о бюджете…
240 комп.
ruflo-metaharnessruvnet · Интеграция MetaHarness: доступ к score/genome/mint/mcp-scan/threat-model через навыки…
240 комп.
bmad-party-modebmad-code-org · Многоперспективные круглые столы — столкновение точек зрения агентов или пользовательских…
39 комп.
aws-startup-advisoranthropics · Персонализированные рекомендации по архитектуре, затратам, безопасности и миграции для…
100 комп.
azureanthropics · Превращает Claude в эксперта по Azure. Плагин объединяет Azure MCP-сервер и…
100 комп.
clickhouseanthropics · Подключение Claude к базам данных ClickHouse Cloud. Просмотр организаций, сервисов, баз…
100 комп.
deploy-on-awsanthropics · Развёртывание приложений в AWS с рекомендациями по архитектуре, оценкой затрат и…
100 комп.
migration-to-awsanthropics · Планирование миграции с Google Cloud Platform (и AI-нагрузок OpenAI/Gemini) на AWS…
100 комп.
newrelicanthropics · Аналитика наблюдаемости New Relic для Claude Code. Исследование производительности APM…
100 комп.

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации изображений

Генерация изображений

Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты

MagviMagvi
По запросу
5.0
DALL-E 3OpenAI
По подписке
5.0
SupaLabSupalab
По запросу
5.0
Freestyling.aiFreestyling
Есть бесплатный тариф
4.9
ArtGeneration.meArtgeneration
Есть бесплатный тариф
4.9
BigjpgBigjpg
По запросу
4.9
Художник от VKVK
Бесплатно
4.9
Wonderink — ИИ-книги
Есть бесплатный тариф
4.8
Avato AI12ai
По запросу
4.8
Virton AIVirton
По запросу
4.8