Payables conversion · EN PDF → UK Accounting
Supplier VAT Invoice PDF to Sage 50 CSV, penny-exact.
Extracts header metadata and line items from a Supplier VAT Invoice PDF (English (UK & IE Tax Invoice)), verifies minor-unit row extensions and tax totals (4 × £42.50 − 10% = £153.00 net (+ £30.60 VAT)), and formats an UTF-8 / Windows-1252 Sage 50 Purchase Invoices Audit Trail CSV for Sage 50 Accounts › File › Import › Audit Trail Transactions.
- Source PDF
- Supplier VAT Invoice PDF
- Target schema
- Sage 50 Purchase Invoices Audit Trail CSV
- Delimiter & encoding
- Comma (,) · UTF-8 / Windows-1252
- Number rule
- 4 × £42.50 − 10% = £153.00 net (+ £30.60 VAT)
- Import path
- Sage 50 Accounts › File › Import › Audit Trail Transactions
Illustrative specimen · Sample values
Input PDF rows & resulting CSV output.
Below is an illustrative example using fictional supplier rows in English (UK & IE Tax Invoice) format alongside the exact Sage 50 Purchase Invoices Audit Trail CSV header and data rows produced by the converter.
01 · Source PDF table excerpt
Kestrel Industrial Supplies Ltd — Tax Invoice INV-2026-0841
Date: 2026-10-14 · Due: 2026-11-13 · Currency: GBP · Rounding: half-up
| Item Code | Description | Qty | Unit Net | Disc % | VAT % | VAT Amount | Net Amount |
|---|---|---|---|---|---|---|---|
| KIS-104 | Nitrile Workshop Gloves Box 100 L | 10 | £6.80 | 0% | 20% | £13.60 | £68.00 |
| KIS-219 | HEPA H13 Extraction Cartridge | 4 | £42.50 | 10% | 20% | £30.60 | £153.00 |
✓ Subtotal £221.00 + VAT £44.20 = Total £265.20 · Reconciled Δ £0.00
02 · Generated Sage 50 CSV output (supplier-vat-invoice-sage-50-purchase-invoices.csv)
Audit Trail schema uses Type = PI for purchase invoices and Type = PC for purchase credits — both require unsigned positive Net Amount and Tax Amount values!
Type,Account Reference,Nominal A/C Ref,Department Code,Date,Reference,Details,Net Amount,Tax Code,Tax Amount
PI,KEST01,5000,0,14/10/2026,INV-2026-0841,KIS-104 Nitrile Workshop Gloves Box 100 L,68.00,T1,13.60
PI,KEST01,5000,0,14/10/2026,INV-2026-0841,KIS-219 HEPA H13 Extraction Cartridge,153.00,T1,30.60Field-by-field contract · 8 mapped columns
Source-to-target field mapping table.
Computed mapping from Supplier VAT Invoice PDF headers (Item Code, Description, Qty, Unit Net, Disc %) onto Sage 50 Purchase Invoices Audit Trail CSV headings.
| Source PDF header | Canonical schema field | Sage 50 CSV column | Status | Normalisation & transformation rule |
|---|---|---|---|---|
| Doc Type (Invoice / CN) | meta.documentNumber | Type | Required | Set to PI (Purchase Invoice); negative lines flipped to PC |
| Header: Supplier | meta.supplierName | Account Reference | Required | 8-char uppercase Sage supplier ledger code (e.g. KEST01) |
| Nominal Default (5000) | config.accountCode | Nominal A/C Ref | Required | Defaults to 5000 (Materials Purchased) |
| Header: Date | meta.invoiceDate | Date | Required | Formatted strictly DD/MM/YYYY |
| Description | description | Details | Required | <SKU> <Description> trimmed to Sage audit-trail field width |
| Net Amount | lineTotal | Net Amount | Required | Strip '£' & ',' thousands; keep exact 2-decimal minor units; unsigned positive value paired with PI/PC |
| VAT % | taxRate | Tax Code | Required | Mapped to Sage tax code (T1 standard, T0 zero-rated, T20 reverse) |
| VAT Amount | taxAmount | Tax Amount | Required | Unsigned positive VAT amount reconciled to minor unit |
Document layout behaviour · Supplier VAT Invoice PDF
Itemised UK/IE tax invoice with header invoice number, tax point, payment terms, per-row discount %, net line extensions and VAT breakdown block.
Deterministic verification
Arithmetic & importer validation checks.
AI assists only with messy layout recovery when needed; every numeric cell, line total, tax band and CSV column rule is verified by deterministic code before export.
English (UK & IE Tax Invoice) header matching & decimal normalisation
Maps raw PDF column tokens ("Item Code", "Description", "Qty", "Unit Net") onto canonical schema fields via multilingual synonym lookup plus fuzzy token similarity, stripping '£' and ',' thousand groups without floating-point rounding.
Minor-unit row extension & document footer reconciliation
Every row is checked minor-unit exact (round(qty × unitNet × (1 − disc%)) = lineNet and round(lineNet × vat%) = taxAmount), then reconciled against the printed subtotal, VAT total and gross total. Commercial half-up and banker's half-even tie cases plus per-line vs per-document tax rounding are tested explicitly and reported in the validation log.
Weighted extraction confidence gate before export
Reads embedded PDF vector text coordinates first; invokes page-image OCR only on scanned or garbled pages, and flags any row whose column-edge alignment or numeric parse rate drops below threshold.
Sage 50 CSV importer rejection guard (comma (,), UTF-8 / Windows-1252)
Passing a negative Net Amount on a PC row fails Sage 50 validation; credit notes must flip Type from PI to PC and emit positive decimals alongside T1/T0 tax codes.
Scope & boundaries
Operational limits & technical questions.
Plain statement of what this conversion checks and produces, alongside common importer questions.
What this conversion does not do
- Does not push records directly into your live Sage 50 CSV account over API — you receive the import-ready CSV file and validation workbook to review and upload via Sage 50 Accounts › File › Import › Audit Trail Transactions.
- Handwritten margin annotations, faded carbon-copy scans below 150 DPI, or password-locked PDFs that forbid text and image rendering cannot be verified deterministically and are flagged rather than guessed.
- Chart-of-accounts nominal codes and Sage 50 CSV tax rate names use sensible defaults (such as 300 / 5000 / SKR03 3400) and should be matched to your organisation's ledger before posting.
- Validation proves internal document arithmetic and CSV schema conformance; it is not statutory tax, audit or bookkeeping advice.
How are Supplier VAT Invoice column headers mapped to Sage 50 CSV?
What happens if a row on my Supplier VAT Invoice PDF fails the arithmetic or format check?
qty × unitPrice − discount = lineTotal) and reconciled against the printed subtotal and tax block. Any row with even a 0.01 discrepancy is highlighted in the companion XLSX audit report with the exact expected vs printed delta instead of being silently altered.Does the free preview run on my actual Supplier VAT Invoice PDF?
Which files are included alongside the Sage 50 CSV export?
Connected specifications
Related PDF & importer conversions.
Explore alternative target CSV schemas for this PDF format, or other supplier documents that map into the same importer.
Same PDF source → Other importers
Other targets for Supplier VAT Invoice PDF
Other PDF sources → Sage 50 CSV
Other documents mapping to Sage 50 Purchase Invoices Audit Trail CSV
Ready in under 5 minutes
Run a free preview on your PDF.
Inspect mapped Sage 50 CSV columns and row-level arithmetic checks on your own Supplier VAT Invoice PDF before paying the fixed £30 one-off fee.