Exact Storno sign inversion and original-invoice traceability on every credit note.
The single most expensive OCR mistake in accounts payable is booking a supplier credit note as a positive invoice — paying or deducting VAT twice in the wrong direction. SunnyExtract detects corrective series and CEN EN 16931 credit semantics, enforces exact negative Storno math to the cent, and links every adjustment back to its original invoice with field-to-PDF visual traceability.
Official open standards and formats validated by default (never claiming unaudited ISO 27001/9001 certifications).
Executive audit
An unsigned supplier credit note is sign-inverted — and held when it lacks the parent invoice date
Supplier corrective invoice printed with positive numbers (PDF)
Corrective invoice R-2026-0419 (CEN EN 16931 code 381) printed with positive figures referencing parent bill F-2026-3812.
Prevented +649.00 EUR double-expense booking and held credit note for omitting the statutory issue date of original invoice F-2026-3812.
Negative Storno VAT tiers (-649.00 EUR) verified and linked to the parent bill for Exact, Sage, or Twinfield.
Storno sign inverted — missing original invoice date held in the exception queue
The problem
Why standard invoice OCR gets credit notes backwards
Half of all suppliers print credit notes with positive unsigned numbers and rely on a small header ("CREDIT NOTE", "FACTURA RECTIFICATIVA", "CREDITFACTUUR") to indicate reversal. Generic OCR reads the positive total and books another payable.
Unsigned totals on supplier credit notes get imported as positive expenses, doubling the payable balance instead of reducing it
Corrective invoices lacking the original invoice number or issue date fail statutory VAT rectification requirements (Art. 89 LIVA / Wet OB)
Partial returns spanning multiple VAT rates (21% / 10% / 4% or 21% / 9% / 0%) distort tax tiers when reduced as a single lump sum
Volume rebates (rappels) and prompt-payment discounts arrive at quarter-end and must adjust specific tax bases without altering unrelated lines
Intragroup or EU reverse-charge (btw verlegd / ISP) credit notes break self-assessed VAT pairs if sign inversion is asymmetric
Refunding a bank transfer without linking the credit note leaves both the original invoice and the refund open as false exceptions
Credit note OCR is just the first step. The rules are the product.
Reading "Credit Note" at the top of a PDF means nothing if the exported journal line still carries a positive debit. SunnyExtract enforces deterministic Storno accounting rules with cent-exact arithmetic: it verifies corrective series and legal reason codes, inverts taxable bases, VAT quotas, and IRPF withholdings per rate tier, and cross-links the parent invoice optically via field-to-PDF visual traceability before export.
Extracted fields
Credit note and corrective invoice OCR fields
Aligned with CEN EN 16931 / UBL 2.1 CreditNote semantics and Spanish/Dutch statutory rectification rules.
Document & Sign
-
Document type code (EN 16931 381 CreditNote / Rectificativa)
-
Corrective series & number (R-, CN-, AB-)
-
Deterministic Storno sign inversion (-1 exact Storno multiplier)
-
Issue date & tax-period allocation
Parent Invoice Link
-
Referenced original invoice number(s)
-
Original invoice issue date
-
Rectification cause (return, pricing error, volume rebate)
-
Remaining open balance check on parent invoice
Multi-Rate Tax Reversal
-
Inverted taxable base per VAT tier (21/10/4% · 21/9/0%)
-
Inverted VAT quota & equivalence surcharge per tier
-
IRPF withholding or reverse-charge (btw verlegd) reversal
-
Exact signed grand total in ISO 4217 currency
Settlement & Trace
-
SEPA refund match or payable-offset indicator
-
Issuer & recipient Tax ID firewall (isolated per-Tax-ID fiscal environment)
-
Direct optical bounding-box link to parent & credit PDFs
-
Exact, Sage, Twinfield & UBL Storno journal mapping
The workflow
How the exception queue prevents inverted credit notes from reaching your ERP
Every corrective document is sign-checked, parent-matched, and tax-verified before posting.
Detect corrective semantics & series
Whether the supplier prints negative signs, trailing minus symbols, parentheses, or positive figures under a "Creditfactuur / Rectificativa" title, the classifier locks the document into the Storno pipeline.
Invert tax tiers & verify parent invoice
Cent-exact tax math verifies each VAT rate tier, confirms the recipient Tax ID matches your company vault, and locates the referenced original invoice in your archive to verify that the credit does not exceed the original base.
Hold orphan or over-credited notes in the exception queue
If a corrective invoice omits the original invoice reference, applies a different VAT rate than the parent bill, or exceeds the booked amount, it stops in the exception queue with both documents linked via field-to-PDF visual traceability.
Living context
Supplier-specific rebate and return conventions remembered.
Distributors, telecoms, and wholesalers format credit memos and annual rappels with their own numbering prefixes and offset rules. Confirm a vendor’s pattern once and every subsequent credit memo routes cleanly.
Custom corrective numbering prefixes per supplier lock automatically into Storno sign inversion
Payable-offset vs direct SEPA bank refund behavior is tracked per vendor for accurate treasury matching
Accounting firms (from 199 €/mo) eliminate quarter-end sign-flip errors across up to 25 or 75 client entities
Full audit trail linking credit note PDF, original invoice PDF, and bank refund inside the 1-click quarterly ZIP
Reconciliation
Three-way matching across original invoice, credit note, and bank settlement
A credit note only closes cleanly when both your VAT book and your supplier sub-ledger agree.
Net payable netting: pairs Invoice #A (1,000.00 €) with Credit Note #CN-A (-280.00 €) so a single 720.00 € SEPA payment reconciles automatically in CAMT.053
Direct bank refund matching: pairs incoming SEPA credit transfers from suppliers directly against open credit notes
VAT period integrity: separates current-quarter adjustments from prior-period rectifications for clean Modelo 303 / BTW-aangifte reporting
Zero silent sign flips: ambiguous layouts never guess between invoice and credit note — they stop in the exception queue
Where this document lands
B2B operations that process this document
This document type is part of the wider corporate workflows we build for the B2B verticals below.
SMEs & Pre-Accounting Control
The smart filter between your SME and your accountant: capture bills via email or WhatsApp, catch wrong Tax IDs instantly, and export from 99 €/mo.
Explore solutionMulti-Entity Business Groups
Single Umbrella Inbox for multi-entity groups: automatic Tax ID routing across multiple companies, isolated environment per Tax ID, from 149 €/mo.
Explore solutionAccounting & Advisory Firms
Zero physical paper at the firm: autonomous corporate client uploads, direct visual PDF links, Sage-ready ledger entries, and 1-click audit ZIPs.
Explore solutionFAQ
Frequently asked questions
How do you prevent a credit note printed with positive numbers from being booked as an invoice?
Our classifier inspects document titles, EN 16931 type codes, corrective series prefixes, negative line markers, and parent-invoice references together. Once classified as a credit note, strict Storno accounting rules enforce negative Storno bases and tax quotas.
What if the original invoice was booked in a previous quarter?
SunnyExtract links the credit note to the historical parent invoice in your company archive, preserves the exact issue and rectification dates, and flags prior-period VAT adjustments clearly for your ERP or advisor.
Does it handle partial credit notes across mixed VAT rates (21/10/4% or 21/9/0%)?
Yes. Each VAT tier is extracted and sign-inverted independently to the cent, verifying that inverted bases plus inverted quotas equal the exact credit total without rounding drift.
How does bank reconciliation work when we deduct a credit note from the next supplier payment?
The reconciliation engine nets open invoices and linked credit notes for the same supplier Tax ID so a single net SEPA remittance settles the combined group cleanly.
When does a credit note stop in the exception queue?
Whenever the parent invoice reference is missing, the credited amount exceeds the original invoice total, the recipient Tax ID does not match your company vault, or VAT tier arithmetic does not balance.
Is this just generic invoice OCR with a negative sign?
OCR is the starting point, not the final product. Raw text extraction routinely misses unsigned credit notes; SunnyExtract adds Storno sign enforcement, parent-invoice visual PDF cross-linking, and net bank settlement matching.
The Time Manifesto · 5 actual reading minutes
B2B Finance Vertical · 5 minWhat happens in the exact 5 minutes it took to read this case.
Honest engineering benchmark per unit of time (zero simulated live volume counters).
Only 1 to 3 corporate invoices opened, keyed, and eye-checked
Across 5 minutes on dual screens, an operator barely downloads 3 PDFs, verifies the recipient corporate VAT ID, and keys tax tiers — still exposed to silent typos.
Up to 150 invoices verified to the cent and filtered to exceptions
In those exact 5 minutes, the engine extracts fields, enforces recipient VAT firewalls, balances multi-rate VAT to the cent, anchors visual PDF crops, and surfaces only genuine anomalies.
The engine behind this workflow
Beyond OCR: one deterministic engine scaling from B2B SMEs to critical ERP operations.
This workflow is not an isolated template. It runs on SunnyExtract’s core architecture: optical reading at the gate, explicit business rules in the middle, and field-to-PDF visual proof before anything touches your systems.
Neither legacy Windows OCR nor blind PDF readers
OCR is only the entry gate. When a supplier shifts a column or sends a phone photo, the workflow keeps enforcing your operational rules without breaking coordinate zones.
Field-by-field visual trace to the source PDF
Every amount, Tax ID, SKU reference, or gross weight retains its verified visual link to the source PDF. Clean records flow forward; anomalies stop in the exception queue for human sign-off.
From corporate pre-accounting to warehouses and EU customs
Start with SME invoice and ISO 20022 bank control; expand into multi-Tax-ID groups, Sage entries, 1-click tax audit ZIPs, delivery notes (80%+ SKU match), or Taric, Visual Trans, and Bitácora.
Request a private workflow review
Whether you are a growing SME eliminating invoice chaos or a high-volume multi-entity group, accounting firm, warehouse, or EU customs team: we review your real documents manually and map your deployment.
Request private workflow review