Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rounding Adjustments (RA) #1231

Open
obar11 opened this issue Jan 4, 2025 · 3 comments
Open

Rounding Adjustments (RA) #1231

obar11 opened this issue Jan 4, 2025 · 3 comments
Labels
Resolution: External Issue is external to the FinOps toolkit Tool: Cost Management External issues related to Microsoft Cost Management

Comments

@obar11
Copy link

obar11 commented Jan 4, 2025

Not sure if this is important here but what I have noticed that for the MCA (or EA) contracts with non-USD currency there is something like rounding adjustment amount. Rounding adjustment will only be visible in Cost Management at the Enrollment scope for Enterprise Agreement (EA) scope or at the Billing Profile scope for Microsoft Customer Agreement (MCA) in Azure Portal, but not in the invoice (cost usage file). But RA is part of FOCUS file. This can cause difference in the cost data validation. Cheers.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Triage 🔍 Untriaged issue needs to be reviewed label Jan 4, 2025
@flanakin flanakin added Resolution: External Issue is external to the FinOps toolkit Tool: Cost Management External issues related to Microsoft Cost Management and removed Needs: Triage 🔍 Untriaged issue needs to be reviewed labels Feb 1, 2025
@flanakin
Copy link
Collaborator

flanakin commented Feb 2, 2025

@obar11 Yes, this is correct. The Commerce data ingestion pipeline generates "rounding adjustment" records in all cost details datasets to account for the difference between raw data and how the invoices are aggregated.

To explain why this happens, usage is summed at a meter level per subscription in EA and per invoice section in MCA. Each of these summed values is then trimmed to 0-2 decimal places, depending on the currency (e.g., USD is 2 decimal places, JPY is 0 decimal places). This means a raw data value of 12.3456789 will show as 12.34 on the invoice while the cost data will show an extra 0.0056789. All those extra numbers add up. The rounding adjustment takes away the extra amount so the total matches the invoice.

I'll keep this open and talk to the Cost Management team about documenting this more explicitly.

/cc @jojohpm, @bandersmsft

@jojohpm
Copy link

jojohpm commented Feb 4, 2025

@obar11
Copy link
Author

obar11 commented Feb 4, 2025

Thanks. Maybe it's worth to highlight that for some currencies RA has different roundings: (e.g., USD is 2 decimal places, JPY is 0 decimal places).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: External Issue is external to the FinOps toolkit Tool: Cost Management External issues related to Microsoft Cost Management
Projects
None yet
Development

No branches or pull requests

3 participants