Payables conversion · EN PDF → Cloud Accounting
Freight & Customs Disbursement Invoice PDF to Xero Bills CSV, penny-exact.
Extracts header metadata and line items from a Freight & Customs Disbursement Invoice PDF (English (Freight Forwarding & Customs Broker)), verifies minor-unit row extensions and tax totals (£640.00 Freight (0% Z) + £85.00 Clearance (20% S) = £742.00 gross), and formats an UTF-8 Xero Bills Import CSV for Xero › Business › Bills to pay › Import.
- Source PDF
- Freight & Customs Disbursement Invoice PDF
- Target schema
- Xero Bills Import CSV
- Delimiter & encoding
- Comma (,) · UTF-8
- Number rule
- £640.00 Freight (0% Z) + £85.00 Clearance (20% S) = £742.00 gross
- Import path
- Xero › Business › Bills to pay › Import
Illustrative specimen · Sample values
Input PDF rows & resulting CSV output.
Below is an illustrative example using fictional supplier rows in English (Freight Forwarding & Customs Broker) format alongside the exact Xero Bills Import CSV header and data rows produced by the converter.
01 · Source PDF table excerpt
Felixstowe Maritime Forwarding Ltd — Invoice FMF-88304
Date: 2026-10-20 · Terms: 14 Days · Mixed 0% / 20% VAT
| Code | Particulars | Qty | Rate | VAT Code | VAT Value | Amount Excl VAT |
|---|---|---|---|---|---|---|
| FRT-LCL | LCL Ocean Freight Ningbo-Felixstowe (Zero-Rated) | 1 | £640.00 | 0% | £0.00 | £640.00 |
| ADM-CDS | CDS Import Entry & Port Examination Handling Fee | 1 | £85.00 | 20% | £17.00 | £85.00 |
✓ Net £725.00 + VAT £17.00 = Total £742.00 · Mixed tax bands reconciled
02 · Generated Xero Bills CSV output (freight-customs-disbursement-xero-bills.csv)
Multi-line bills repeat *ContactName, *InvoiceNumber, *InvoiceDate and *DueDate on every CSV row; Xero groups lines sharing *InvoiceNumber into one draft bill (or credit note when *UnitAmount is negative).
*ContactName,*InvoiceNumber,*InvoiceDate,*DueDate,Description,*Quantity,*UnitAmount,*AccountCode,*TaxType,TaxAmount,Currency
Felixstowe Maritime Forwarding Ltd,FMF-88304,20/10/2026,03/11/2026,FRT-LCL - LCL Ocean Freight Ningbo-Felixstowe (Zero-Rated),1,640.00,300,Zero Rated Expenses,0.00,GBP
Felixstowe Maritime Forwarding Ltd,FMF-88304,20/10/2026,03/11/2026,ADM-CDS - CDS Import Entry & Port Examination Handling Fee,1,85.00,300,20% (VAT on Expenses),17.00,GBPField-by-field contract · 8 mapped columns
Source-to-target field mapping table.
Computed mapping from Freight & Customs Disbursement Invoice PDF headers (Code, Particulars, Qty, Rate, VAT Code) onto Xero Bills Import CSV headings.
| Source PDF header | Canonical schema field | Xero Bills CSV column | Status | Normalisation & transformation rule |
|---|---|---|---|---|
| Header: Supplier | meta.supplierName | *ContactName | Required | Extracted from supplier header block and repeated on each line row |
| Header: Document No | meta.documentNumber | *InvoiceNumber | Required | Groups all line rows under one Xero bill / credit reference |
| Header: Date / Terms | meta.invoiceDate | *InvoiceDate | Required | Normalised to DD/MM/YYYY; *DueDate computed from terms when absent |
| Code | sku | Description | Required | Prefixed <SKU> - <Description> (or mapped to InventoryItemCode) |
| Qty | quantity | *Quantity | Required | Positive decimal quantity; credit sign carried on *UnitAmount |
| Rate | unitPrice | *UnitAmount | Required | Strip '£' & ',' thousands; keep exact 2-decimal minor units; line discounts folded to <= 4 decimals |
| Chart Default (300) | config.accountCode | *AccountCode | Required | Defaults to 300 (Purchases) or buyer's nominal code override |
| VAT Code | taxRate | *TaxType | Required | Mapped to exact Xero rate (20% (VAT on Expenses), Zero Rated Expenses) |
Document layout behaviour · Freight & Customs Disbursement Invoice PDF
Forwarder disbursement invoice combining zero-rated international transport (0%) with standard-rated UK clearance/agency fees (20%) on the same bill.
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 (Freight Forwarding & Customs Broker) header matching & decimal normalisation
Maps raw PDF column tokens ("Code", "Particulars", "Qty", "Rate") 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
Per-line tax grouping (perDocumentTax vs perLineTax by VAT rate) keeps zero-rated ocean/road freight separate from 20% agency charges so input VAT is never overstated. 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.
Xero Bills CSV importer rejection guard (comma (,), UTF-8)
Xero matches column headings case-sensitively (*InvoiceNumber, *UnitAmount, *AccountCode, *TaxType); wrong letter case or an unmapped *TaxType label rejects the import.
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 Xero Bills CSV account over API — you receive the import-ready CSV file and validation workbook to review and upload via Xero › Business › Bills to pay › Import.
- 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 Xero Bills 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 Freight & Customs Invoice column headers mapped to Xero Bills CSV?
What happens if a row on my Freight & Customs 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 Freight & Customs Invoice PDF?
Which files are included alongside the Xero Bills 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 Freight & Customs Disbursement Invoice PDF
Other PDF sources → Xero Bills CSV
Other documents mapping to Xero Bills Import CSV
Ready in under 5 minutes
Run a free preview on your PDF.
Inspect mapped Xero Bills CSV columns and row-level arithmetic checks on your own Freight & Customs Disbursement Invoice PDF before paying the fixed £30 one-off fee.