ADORSYS-GIS / ADORSYS-GIS/lightbridge-authz

[Story]: Chargeback/showback export by cost centre

未关闭
#268 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
user-story
主要语言
Rust
星标
0
派生
1
平均合并
7 小时 7 分钟
30 天内合并 PR
237

描述

## Summary
Build a chargeback/showback export by cost centre, in a format finance tooling can consume, mapping per-developer AI spend (not headcount-divided estimates) to the customer's cost-centre structure.

## Intent / Source of truth
Buyers explicitly want per-developer attribution, not a flat per-headcount split — this is the named differentiator in FinOps buyer research. Part of [Epic] Per-BU cost attribution and chargeback reporting.

## Scope
- [ ] CSV export by cost centre / BU / team, per billing period
- [ ] API endpoint for programmatic export (finance-tool integration)
- [ ] Showback (read-only view) vs chargeback (exportable-for-billing) distinction

## Out of scope
- Direct integration with specific finance tools (SAP, NetSuite, etc.) — the export format is the deliverable, not bespoke connectors

## Verification
A generated export reconciles against the BU-rollup story's totals; a sample import into a common finance-tool CSV format (e.g. NetSuite journal import) validated manually.

## Risk assessment
An export that doesn't reconcile with the underlying ledger would produce incorrect customer invoices/chargebacks if used downstream for billing — needs the same reconciliation discipline as a5s1.

## AI Usage Declaration
Drafted with AI assistance during the 2026-08-13 cross-repo backlog consolidation and enterprise-readiness research. A human owns intent, verification and consequences.

贡献指南

打开贡献指南

调研方向

Start by locating the existing BU-rollup story and the underlying ledger, then trace how cost-centre, BU, team, and per-developer attribution are represented. Done means a per-billing-period export and API endpoint distinguish showback from chargeback, reconcile with BU-rollup totals, and pass a manual sample import against a common finance-tool CSV format.

由索引模型根据 Issue 内容生成。

评估

技术栈
rust
领域
api, backend, data
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。