---
title: "E-Invoice VAT Calculation Verifier"
method: POST
path: "/v1/tools/verify_einvoice_vat_calc"
tags: ["TODO_TAGS_REVIEW"]
---

# E-Invoice VAT Calculation Verifier

`POST /v1/tools/verify_einvoice_vat_calc`

## Request

- Base URL: `https://ainumbers.co`
- URL: `https://ainumbers.co/v1/tools/verify_einvoice_vat_calc`
- Auth: none declared

Recompute an e-invoice's line VAT, per-category tax subtotals, tax total, and grand total from its line items under a supplied rounding convention, then compare against the document-asserted amounts. Reverse-charge and zero-rate categories are treated as zero VAT. Verifies arithmetic consistency only, not statutory rate correctness. Middle node of the einvoice-validation-pipeline chain. Zero network, zero PII.

**Tool URL:** https://ainumbers.co/chaingraph/art-294-einvoice-vat-calc-verifier.html
**AP2/Policy Mandate export:** yes

## Request body

- object
  - `document` unknown, required
  - `rounding` unknown, required

## Response `200`

Successful tool execution result

- object
  - `consistent` boolean
  - `grand_total_computed` integer
  - `grand_total_delta` integer
  - `parse_error` string
  - `rounding` object
    - `granularity` string
    - `method` string
  - `subtotal_deltas` object[]
    - `matched_asserted_subtotal` boolean
    - `tax_amount_computed` integer
    - `tax_amount_delta` integer
    - `taxable_amount_computed` integer
    - `taxable_amount_delta` integer
    - `vat_category` string
    - `vat_rate_pct` integer
  - `tax_total_computed` integer
  - `tax_total_delta` integer

---

[API](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite.md) · [All operations](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/llms.txt) · [OpenAPI document](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/revisions/b462e4f5bb28?raw)
