Skip to content
PreviewFix

Payables conversion · EN PDF → UK Accounting

Subcontractor Stage Valuation Invoice PDF to Sage 50 CSV, penny-exact.

Extracts header metadata and line items from a Subcontractor Stage Valuation Invoice PDF (English (Construction Stage Application & Retention)), verifies minor-unit row extensions and tax totals (£4,800.00 Valuation − £240.00 (5% Retention) = £4,560.00 certified net), and formats an UTF-8 / Windows-1252 Sage 50 Purchase Invoices Audit Trail CSV for Sage 50 Accounts › File › Import › Audit Trail Transactions.

Conversion contractEN → Sage 50 CSV
Source PDF
Subcontractor Stage Valuation Invoice PDF
Target schema
Sage 50 Purchase Invoices Audit Trail CSV
Delimiter & encoding
Comma (,) · UTF-8 / Windows-1252
Number rule
£4,800.00 Valuation − £240.00 (5% Retention) = £4,560.00 certified net
Import path
Sage 50 Accounts › File › Import › Audit Trail Transactions
Turnaround: Under 5 minutes£30 ($39 USD) · VAT incl.
Line totals & tax block reconciled (±0.00)Includes companion XLSX validation workbookRead import & ERP guides →

Illustrative specimen · Sample values

Input PDF rows & resulting CSV output.

Below is an illustrative example using fictional supplier rows in English (Construction Stage Application & Retention) format alongside the exact Sage 50 Purchase Invoices Audit Trail CSV header and data rows produced by the converter.

Illustrative specimenFictional B2B fixture · Not live customer data
2/2 sample lines reconciled (±0.00)

01 · Source PDF table excerpt

Aire Valley M&E Contracting Ltd — Valuation Invoice VAL-04-2026

Certificate Date: 2026-10-25 · Due: 2026-11-24 · 5% Retention Held

RefItem DescriptionQtyRateVAT %VAT AmountNet Amount
PKG-ME04Valuation 4 - First-Fix Containment & Distribution1£4,800.0020%£960.00£4,800.00
RET-05Less 5% Contract Retention Held to Practical Completion-1£240.0020%-£48.00-£240.00

✓ Certified Net £4,560.00 + VAT £912.00 = Amount Due £5,472.00 · Reconciled

02 · Generated Sage 50 CSV output (subcontractor-stage-valuation-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!

Delimiter: Comma (,)UTF-8 / Windows-1252
Type,Account Reference,Nominal A/C Ref,Department Code,Date,Reference,Details,Net Amount,Tax Code,Tax Amount
PI,AIRE01,5000,0,25/10/2026,VAL-04-2026,PKG-ME04 Valuation 4 - First-Fix Containment & Distribution,4800.00,T1,960.00
PC,AIRE01,5000,0,25/10/2026,VAL-04-2026,RET-05 Less 5% Contract Retention Held to Practical Completion,240.00,T1,48.00

Field-by-field contract · 8 mapped columns

Source-to-target field mapping table.

Computed mapping from Subcontractor Stage Valuation Invoice PDF headers (Ref, Item Description, Qty, Rate, VAT %) onto Sage 50 Purchase Invoices Audit Trail CSV headings.

Source PDF headerCanonical schema fieldSage 50 CSV columnStatusNormalisation & transformation rule
Doc Type (Invoice / CN)meta.documentNumberTypeRequiredSet to PI (Purchase Invoice); negative lines flipped to PC
Header: Suppliermeta.supplierNameAccount ReferenceRequired8-char uppercase Sage supplier ledger code (e.g. KEST01)
Nominal Default (5000)config.accountCodeNominal A/C RefRequiredDefaults to 5000 (Materials Purchased)
Header: Datemeta.invoiceDateDateRequiredFormatted strictly DD/MM/YYYY
Item DescriptiondescriptionDetailsRequired<SKU> <Description> trimmed to Sage audit-trail field width
Net AmountlineTotalNet AmountRequiredStrip '£' & ',' thousands; keep exact 2-decimal minor units; unsigned positive value paired with PI/PC
VAT %taxRateTax CodeRequiredMapped to Sage tax code (T1 standard, T0 zero-rated, T20 reverse)
VAT AmounttaxAmountTax AmountRequiredUnsigned positive VAT amount reconciled to minor unit

Document layout behaviour · Subcontractor Stage Valuation Invoice PDF

Construction stage application/invoice showing certified period work done followed by a negative percentage retention deduction row (-5%).

Test header detection on your PDF

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.

CHK-01 · HEADER & NUMBER PARSERConfidence gate

English (Construction Stage Application & Retention) header matching & decimal normalisation

Maps raw PDF column tokens ("Ref", "Item Description", "Qty", "Rate") onto canonical schema fields via multilingual synonym lookup plus fuzzy token similarity, stripping '£' and ',' thousand groups without floating-point rounding.

£4,800.00 Valuation − £240.00 (5% Retention) = £4,560.00 certified net · headers: "Ref", "Item Description", "Qty", "Rate"
CHK-02 · PENNY-EXACT ARITHMETICArithmetic check

Minor-unit row extension & document footer reconciliation

Signed deduction lines (-£240.00 retention) are summed with positive valuation lines (£4,800.00) and reconciled penny-exact against the certified payment notice total (£4,560.00 net). 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.

round(qty × unitNet × (1 − disc%)) = lineNet (±0.00) · Σ lines = footer
CHK-03 · CONFIDENCE & OCR FALLBACKConfidence gate

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.

0.20 alignment + 0.25 numeric + 0.35 arithmetic + 0.20 headers
CHK-04 · TARGET SCHEMA GUARDImporter hazard

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.

Surface: Sage 50 Accounts › File › Import › Audit Trail Transactions

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 Subcontractor Stage Valuation column headers mapped to Sage 50 CSV?
The parser normalises diacritics, punctuation and currency tokens across raw headers such as "Ref", "Item Description", "Qty", binds them to canonical line fields, and writes exact Sage 50 CSV headings (comma-delimited (,), UTF-8 / Windows-1252) ready for Sage 50 Accounts › File › Import › Audit Trail Transactions.
What happens if a row on my Subcontractor Stage Valuation PDF fails the arithmetic or format check?
Every row is checked in integer minor units (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 Subcontractor Stage Valuation PDF?
Yes. Upload your own PDF in the self-serve tool to inspect detected headers, confidence signals and a sample of mapped Sage 50 CSV rows before paying for the complete unlocked export pack.
Which files are included alongside the Sage 50 CSV export?
One fixed-price run delivers the target CSV/XLSX formatted for your importer alongside the full multi-format bundle (Shopify CSV, WooCommerce CSV, Xero bill CSV and a styled XLSX workbook showing per-row validation status).

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.

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 Subcontractor Stage Valuation Invoice PDF before paying the fixed £30 one-off fee.