Skip to content
PreviewFix

Payables conversion · EN PDF → Cloud Accounting

Commercial Import Invoice PDF to Xero Bills CSV, penny-exact.

Extracts header metadata and line items from a Commercial Import Invoice PDF (English (Cross-Border Customs & Trade)), verifies minor-unit row extensions and tax totals (50 PCS × $38.40 = $1,920.00 (0% Export / Import)), and formats an UTF-8 Xero Bills Import CSV for Xero › Business › Bills to pay › Import.

Conversion contractEN → Xero Bills CSV
Source PDF
Commercial Import Invoice PDF
Target schema
Xero Bills Import CSV
Delimiter & encoding
Comma (,) · UTF-8
Number rule
50 PCS × $38.40 = $1,920.00 (0% Export / Import)
Import path
Xero › Business › Bills to pay › Import
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 (Cross-Border Customs & Trade) format alongside the exact Xero Bills Import 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

Shenzhen Precision Optics Co. — Commercial Invoice CI-2610-449

Date: 2026-10-08 · Incoterms: FCA · Currency: USD

Part NoGoods DescriptionQty ShippedUOMUnit PriceTax %Ext Price
SPO-M12-08M12 8mm Telecentric Lens (HS 90021900)50PCS$38.400%$1,920.00
SPO-RNG-2424V Coaxial LED Ring Illuminator (HS 94054200)25PCS$29.600%$740.00

✓ Subtotal $2,660.00 · Export Tax $0.00 · Total FCA $2,660.00 · Reconciled Δ $0.00

02 · Generated Xero Bills CSV output (commercial-import-invoice-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).

Delimiter: Comma (,)UTF-8
*ContactName,*InvoiceNumber,*InvoiceDate,*DueDate,Description,*Quantity,*UnitAmount,*AccountCode,*TaxType,TaxAmount,Currency
Shenzhen Precision Optics Co.,CI-2610-449,08/10/2026,07/11/2026,SPO-M12-08 - M12 8mm Telecentric Lens (HS 90021900),50,38.40,300,Zero Rated Expenses,0.00,USD
Shenzhen Precision Optics Co.,CI-2610-449,08/10/2026,07/11/2026,SPO-RNG-24 - 24V Coaxial LED Ring Illuminator (HS 94054200),25,29.60,300,Zero Rated Expenses,0.00,USD

Field-by-field contract · 8 mapped columns

Source-to-target field mapping table.

Computed mapping from Commercial Import Invoice PDF headers (Part No, Goods Description, Qty Shipped, UOM, Unit Price) onto Xero Bills Import CSV headings.

Source PDF headerCanonical schema fieldXero Bills CSV columnStatusNormalisation & transformation rule
Header: Suppliermeta.supplierName*ContactNameRequiredExtracted from supplier header block and repeated on each line row
Header: Document Nometa.documentNumber*InvoiceNumberRequiredGroups all line rows under one Xero bill / credit reference
Header: Date / Termsmeta.invoiceDate*InvoiceDateRequiredNormalised to DD/MM/YYYY; *DueDate computed from terms when absent
Part NoskuDescriptionRequiredPrefixed <SKU> - <Description> (or mapped to InventoryItemCode)
Qty Shippedquantity*QuantityRequiredPositive decimal quantity; credit sign carried on *UnitAmount
Unit PriceunitPrice*UnitAmountRequiredStrip '$' & ',' thousands; keep exact 2-decimal minor units; line discounts folded to <= 4 decimals
Chart Default (300)config.accountCode*AccountCodeRequiredDefaults to 300 (Purchases) or buyer's nominal code override
Tax %taxRate*TaxTypeRequiredMapped to exact Xero rate (20% (VAT on Expenses), Zero Rated Expenses)

Document layout behaviour · Commercial Import Invoice PDF

Foreign-currency commercial invoice for customs clearance and AP posting, carrying 8-digit HS commodity codes, country of origin, Incoterms and zero-rated export totals.

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 (Cross-Border Customs & Trade) header matching & decimal normalisation

Maps raw PDF column tokens ("Part No", "Goods Description", "Qty Shipped", "UOM") onto canonical schema fields via multilingual synonym lookup plus fuzzy token similarity, stripping '$' and ',' thousand groups without floating-point rounding.

50 PCS × $38.40 = $1,920.00 (0% Export / Import) · headers: "Part No", "Goods Description", "Qty Shipped", "UOM"
CHK-02 · PENNY-EXACT ARITHMETICArithmetic check

Minor-unit row extension & document footer reconciliation

Line extensions (qty × unitPrice = extPrice) and foreign-currency document totals are reconciled in integer cents while preserving the 3-letter ISO currency code (USD). 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

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.

Surface: Xero › Business › Bills to pay › 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 Commercial Import Invoice column headers mapped to Xero Bills CSV?
The parser normalises diacritics, punctuation and currency tokens across raw headers such as "Part No", "Goods Description", "Qty Shipped", binds them to canonical line fields, and writes exact Xero Bills CSV headings (comma-delimited (,), UTF-8) ready for Xero › Business › Bills to pay › Import.
What happens if a row on my Commercial Import Invoice 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 Commercial Import Invoice PDF?
Yes. Upload your own PDF in the self-serve tool to inspect detected headers, confidence signals and a sample of mapped Xero Bills CSV rows before paying for the complete unlocked export pack.
Which files are included alongside the Xero Bills 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 Xero Bills CSV columns and row-level arithmetic checks on your own Commercial Import Invoice PDF before paying the fixed £30 one-off fee.