Ledger Lint

Invoice arithmetic checks · Runs in your browser

The AI read the invoice. Do the numbers add up?

Paste the JSON that an LLM, Azure Document Intelligence or Google Document AI extracted from an invoice. Ledger Lint re-does the arithmetic, checks VAT rates, IBANs, EU VAT numbers and Turkish VKN/TCKN check digits and the dates — and explains likely error patterns.

Nothing is uploaded. The JSON is parsed and checked inside this tab.

Or try a demo extraction

What it checks

∑

Arithmetic

Quantity × unit price, line discounts, subtotal, VAT per rate, total, prepaid amounts, amount due — with rounding told apart from real errors.

%

VAT rules

Bundled date-aware VAT references for EU countries, the UK, Switzerland, Norway and Türkiye, KDV withholding arithmetic and cross-border review hints.

#

Identifiers

IBAN check digits and lengths for 88 countries, EU VAT number formats and check digits, Turkish VKN and TCKN, e-Fatura ETTN and number year.

◷

Dates

Impossible dates, day/month ambiguity, due dates before the issue date, future invoices, unusual payment terms.

?

Why it is wrong

Every mismatch gets a likely cause: a thousands separator read as a decimal point, transposed digits, OCR confusions like 8↔3, a dropped digit, gross taken for net, a value copied from another field, an outdated VAT rate.

{}

Any extraction

LLM JSON with English, German or Turkish field names, Azure “prebuilt-invoice” results, Google Document AI entities, batches and JSON Lines — plus a correction prompt to send back to the model.