Founding customers: 10 free pilots in 2027. See the offer

Legacy schema traps · Money and quantities

Why are credit notes positive in my ERP database?

Because the document type, not the sign, says whether an amount is a credit. A credit note of 500 is stored as +500 with a type code, so a plain sum of invoices overstates revenue.

Run the free schema checkFree · five minutes · only schema and aggregates leave you

What it looks likeIllustrative

INVOICE.AMOUNT=500 with INVTYPE='K' (credit note).

All table and column names are invented.

Why reports and AI agents get it wrong

It sums all invoices and overstates revenue.

A first check you can run

Type columns on transaction tables, and whether negative values ever occur.

Read-only and on the catalogue or aggregates: it looks at structure and value counts, not at individual records.

How Janus Works handles it

The sign rule is encoded and tested against a known month.

Every number verified against your own screens. Deviations shown, never hidden.

Run the free schema checkFind the traps in your own database. Free schema check, five minutes.