tva-calculator-audit

Audit TVA calculation logic for tax multipliers, discounts, and rounding.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/KILWA73/MiniSoc --skill tva-calculator-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tva-calculator-audit
Source: https://github.com/KILWA73/MiniSoc/tree/main/.agents/skills/tva-calculator-audit
Command: npx skills add https://github.com/KILWA73/MiniSoc --skill tva-calculator-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TVA calculation logic can drift due to improper rounding, misordered operations, and inconsistent tax handling, leading to incorrect invoices and reports.

Core Features & Use Cases

  • Validate tax multipliers, discounts, and rounding to ensure accurate TVA totals.
  • Identify edge-case scenarios (0% tax, 100% discounts, fractional cents) and generate deterministic tests.
  • Provide auditable, testable flows for pricing math across invoicing and revenue reporting.

Quick Start

Run the TVA calculator audit on your latest invoice data to verify tax, discounts, and rounding consistency.

Frequently Asked Questions about tva-calculator-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit TVA calculation logic for tax multipliers and rounding errors?

To audit TVA calculation logic, you validate tax multipliers, discounts, and rounding consistency across pricing workflows. This ensures accurate TVA totals and identifies edge-case scenarios causing incorrect invoices and reports.

Why does pricing drift occur in invoice tax calculations and how can I test it?

Pricing drift in tax calculations occurs due to improper rounding, misordered operations, and inconsistent tax handling. You can test it by generating deterministic validations for 0% tax, 100% discounts, and micro-cent rounding scenarios.

What is the best way to generate unit tests for financial logic edge cases like 100% discounts?

The best way to generate unit tests for financial logic edge cases is to apply deterministic validations targeting 100% discounts, 0% tax rates, and fractional cents to ensure decimal precision across your pricing math.

Can I use this audit process for currency precision and micro-cent rounding in revenue reporting?

Yes, you can use this audit process for currency precision and micro-cent rounding in revenue reporting. It provides auditable, testable flows for pricing math across invoicing and financial modules to verify consistency.

What are the limitations of auditing tax calculation logic without deterministic validations?

Without deterministic validations, auditing tax calculation logic fails to catch edge-case scenarios like 0% tax and fractional cents. This limitation allows improper rounding and misordered operations to cause incorrect TVA totals and pricing drift.

Does the TVA audit work with existing invoicing data to verify decimal precision?

Yes, the TVA audit works with existing invoicing data to verify decimal precision. You can run it on your latest invoice data to verify tax multipliers, discounts, and rounding consistency across financial modules.