# Chinese E-Invoice Extractor - Batch PDF Invoice Data to CSV

> Batch-extract Chinese VAT and digital e-invoice PDFs: number, date, buyer, seller, tax IDs, amounts, line items; QR cross-check, duplicates, CSV.

- URL: https://qilingtools.com/en/pdf/invoice
- Category: PDF Tools (https://qilingtools.com/en/pdf)
- Tags: [PDF](https://qilingtools.com/en/tags/pdf), [Finance](https://qilingtools.com/en/tags/finance), [Documents](https://qilingtools.com/en/tags/document), [Scanning](https://qilingtools.com/en/tags/scan)
- Last updated: 2026-10-26
- Price: Free, no sign-up
- Privacy: Runs locally in the browser; files are never uploaded

Copying invoice numbers, amounts and tax IDs from a stack of Chinese e-invoice (fapiao) PDFs by hand is slow. Drop them all in and the tool reads each PDF’s text layer in your browser, using text positions to find the value next to each label — invoice code, invoice number, date, check code, buyer and seller names and tax IDs. It handles both the older VAT e-invoice layout (buyer above seller, labels and values drawn separately) and the newer fully digital invoice (buyer and seller side by side, 20-digit number). It also picks up the amount and tax from the total row, the total in figures and in Chinese words, remarks, and the line items (name, spec, unit, quantity, price, amount, rate and tax, joining names that wrap). With QR reading on, page 1 is rendered and the invoice QR code (01,type,code,number,amount,date,check code…) is decoded and compared field by field with the printed text; the tool also checks that amount + tax = total, that the amount in words matches the figures, and the check digit of 18-character tax IDs. Each field is coloured by confidence — cross-checked, valid format, please check, not found — and every cell can be edited. Totals exclude duplicates, which are flagged when the invoice number repeats. Export a UTF-8 CSV with BOM that opens cleanly in Excel (long numbers stay intact), a line-item CSV, or a ZIP of the PDFs renamed with a pattern such as {date}_{seller}_{total}. Scans can be read with local OCR, and a basic English invoice mode picks out number, date and total. Everything stays on your device; results are for organising only and are not tax advice.

## How to use

1. Select or drop several invoice PDFs; each one is read automatically
2. Review the colour-coded fields, open the details for line items and checks, and fix anything that’s wrong
3. Export the CSV summary or line items, or download the PDFs renamed with your pattern

## Features

- Older VAT e-invoices and new fully digital invoices
- Label-to-value matching by text position, with regex fallback
- Reads the invoice QR code to cross-check number, date and amount
- Checks amount + tax = total, amount in words and tax-ID check digits
- Extracts line items and joins wrapped names
- Flags duplicate invoice numbers; totals exclude duplicates
- Excel-friendly CSV (UTF-8 BOM) and line-item CSV export
- Batch rename PDFs with patterns like {date}_{seller}_{total}

## FAQ

### Which invoices are supported?

Mainly Chinese e-invoice PDFs with a text layer: VAT electronic ordinary and special invoices, and the fully digital invoices introduced from 2023. OFD files need converting to PDF first. Scans of paper invoices can be read with the OCR option, though accuracy depends on scan quality. For English invoices only basic fields — invoice number, date and totals — are extracted.

### What do the colours mean, and what if something is wrong?

Green means cross-checked (matches the QR code or passes the amount and check-digit tests), white means a valid format without cross-checking, yellow means please check (for example the QR code disagrees with the text), and red means not found. You can edit any cell; edited cells turn blue and the CSV export and renaming use your values.

### What is the QR code used for?

The QR code in the top-left corner of a Chinese e-invoice holds the invoice type, code, number, amount, date and check code. The tool renders the page, decodes it and compares each item with the text it found: matches raise the confidence, mismatches are flagged for you to check, and missing values are filled from the QR code. Decoding happens locally; nothing is looked up online.

### Are my invoices uploaded? Can it verify them?

Nothing is uploaded — all reading happens in your browser. The tool only extracts content and checks that amounts and formats are consistent; it can’t tell whether an invoice is genuine and isn’t tax or expense advice. Use the official State Taxation Administration verification service to check authenticity.

## Related tools

- [Merge PDF](https://qilingtools.com/en/pdf/merge): Free online PDF merger: combine several PDF files into one in the order you choose, with reordering. Processed locally in your browser, no upload, no sign-up.
- [Split / Extract PDF](https://qilingtools.com/en/pdf/split): Free online PDF splitter: extract a page range into a new PDF, or split every page into its own file and download them as a ZIP. Processed locally.
- [Rotate PDF](https://qilingtools.com/en/pdf/rotate): Free online PDF rotator: rotate all or selected pages by 90°, 180° or 270° to fix scanned documents. Processed locally, no upload.
- [PDF to Image](https://qilingtools.com/en/pdf/to-image): Free online PDF to image converter: render every page as a high-resolution JPG or PNG at 72/150/300 DPI, download all as a ZIP. Processed locally, no upload.
- [Image to PDF](https://qilingtools.com/en/pdf/from-image): Free online image to PDF converter: combine JPG, PNG and WebP images into one PDF in order, with A4 or image-sized pages. Processed locally, no upload.
- [Compress PDF](https://qilingtools.com/en/pdf/compress): Free online PDF compressor: re-render pages with compressed images to shrink scanned and image-heavy PDFs, with adjustable quality. Processed locally.
- [Watermark PDF](https://qilingtools.com/en/pdf/watermark): Free online PDF watermark tool: add text watermarks to every page, tiled or centred, with opacity and angle controls. Any language, processed locally.
- [Delete PDF Pages](https://qilingtools.com/en/pdf/delete): Free online tool to delete PDF pages: remove pages by number or range and keep the rest, then download. Processed locally, no upload.
