📋 PI / CI / Quotation Generator

Processed locally in the browser · nothing uploaded AI-Ready

Generate PI / CI / quotations online: one-click switching, multi-currency, AI auto-fill, cloud storage, print and PDF export, and export EN 16931 e-invoices (ZUGFeRD).

📄 Export e-invoice

Ready: fill in the document, then export a PDF or save it to the cloud.

📷 Logo
Email: | Tel:

PROFORMA INVOICE

DATE: CURRENCY: No.
Buyer: Seller:
Address: Origin:
Attn: Attn:
Tel: Tel:
Email: Email:
MARK DESCRIPTION IMAGE UNIT PRICE UNIT QTY AMOUNT
FREIGHT $
TOTAL $0.00
👁️ Bank account & notes
Show fields:
Payment methods:
Beneficiary account:
Swift code:
Country:
Beneficiary name:
Beneficiary bank:
Bank address:
Transfer remark:

📄 E-invoice (ZUGFeRD)

Generates a machine-readable e-invoice per EN 16931 (BASIC profile) for German / EU customers’ finance systems to read directly. The XML shares the CII format with ZUGFeRD 2.1 / Factur-X.

Note: click “Export PDF” at the top left first to get the document PDF, then use the second button above to embed the XML. The resulting PDF embeds standard CII XML readable by e-invoice systems; full PDF/A-3 compliance (incl. OutputIntent) is not claimed.

How to use PI / CI / Quotation Generator

Follow the steps to get it done

1

Pick the document type: switch between PI, CI and quotation with one click, and the header adapts automatically

Open the page and start — no registration or sign-in needed.

2

Fill in your company, buyer and bank details, or paste an email for AI auto-fill

Settings can be changed at any time; all computation happens in your browser.

3

Enter the line items with quantities and unit prices; amounts are calculated automatically

Copy or download the result when you are done. Nothing is kept on this site.

4

Save to member cloud storage or export a JSON backup, and continue on another device

5

Print and export the PDF for your customer, and add an e-invoice for EU customers

Page Actions

Document type switch (PI / CI / Quotation)

Click the document title or the segmented buttons on the right to cycle between proforma invoice, commercial invoice, and quotation. The header title and validity text adapt automatically.

AI auto-fill (text box + button)

Paste the invoicing details from a customer email or chat record into the text box, then click “AI autofill”. The tool parses the buyer, delivery date, payment terms, and other fields and fills them into the form.

Cloud storage: save to the cloud

Click “Pack and upload now” to save the current document into your member cloud storage (counting toward your 100MB quota). The file name is generated as "buyer_salesperson_type_document number"; saving again under the same name overwrites the old version. Sign in first if you are not signed in.

Clear all & retry

Only appears when the storage is full on save: keeps published files and clears the rest by default, uncheck to clear everything, then retries the save once; the result shows in the status line.

Cancel upload

Only appears when the storage is full on save: dismisses the choice without clearing or saving.

Cloud storage: fetch from the cloud

Type a buyer name or document number in the search box to filter, pick a saved document from the dropdown, then click “Fetch and overwrite the current form” to fetch it and keep editing.

Import config

In the top toolbar: restore document data from a JSON file you exported earlier.

Export config

In the top toolbar: save the current document as a JSON file for backup.

Clear and start over

In the top toolbar: clear everything you have filled in with one click and start again.

Add a line item

Add a row at the end of the items table, then fill in the shipping marks, description, unit price, unit, and quantity. Amounts are calculated automatically.

Delete a line item

Use the delete button at the end of each row to remove that item.

Bank details collapse

Click the bank section title to expand or collapse the bank account form.

Display toggles (bank / buyer / images)

Tick the boxes to control whether bank details, buyer details, and the product image column appear on the document.

Print / Export PDF

Call the browser print function to output a PDF. The print styles are tuned so only the document itself is printed, on one page.

“Export e-invoice” (top toolbar anchor)

The anchor in the top toolbar, after “Clear and start over”. Click it to jump to the e-invoice panel at the bottom of the page.

Seller tax number (input)

In the e-invoice panel: enter the seller's Unified Social Credit Code, which is written into the XML as the seller tax registration number.

Buyer VAT number (input)

In the e-invoice panel: enter the buyer's EU VAT number, or leave it blank if there is none. When provided, it is written into the XML as the buyer tax registration.

VAT (dropdown)

In the e-invoice panel: choose export exempt 0%, zero-rated 0%, tax-exempt, or the standard rate. Choosing the standard rate opens a custom rate input.

Custom tax rate (number input)

In the e-invoice panel: this appears after you choose the standard rate. Enter a rate between 0 and 100, for example 19 for the German standard rate.

Country code / postcode / city (inputs)

In the e-invoice panel: one set each for seller and buyer. These address fields are required to generate the XML. Country codes are 2 letters, such as CN or DE.

Download e-invoice XML (button)

In the e-invoice panel: generate a CII XML file (BASIC profile) from the current document and download it as factur-x.xml. If required fields are missing, the status bar tells you what is missing.

Upload an exported PDF to generate ZUGFeRD (button)

In the e-invoice panel: first use “Export PDF” to get the document PDF, then select it here to upload. The tool embeds the XML as factur-x.xml, writes XMP metadata, and downloads the ZUGFeRD PDF.

E-invoice status (persistent)

Persistent text at the bottom of the e-invoice panel showing success, the downloaded file name, or a missing-field error.

How to Let AI Use It

Call it directly through the MCP endpoint, or let an AI assistant operate the browser

Call it directly through this site's MCP endpoint (JSON-RPC 2.0, POST https://tools.waoww.com/mcp) — no need to open the browser. MCP tool name: build_pi_ci_link (tool page /tools/pitool/index_en.html/). Example call:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "build_pi_ci_link",
    "arguments": {
      "doc_type": "PI",
      "currency": "USD",
      "seller": {
        "name": "TWC Trading Co., Ltd."
      },
      "buyer": {
        "name": "ABC Trading LLC"
      },
      "items": [
        {
          "description": "Stainless Steel Water Bottle",
          "qty": 100,
          "unit": "PCS",
          "unit_price": 12.5
        }
      ],
      "incoterm": "FOB Shenzhen",
      "payment_terms": "T/T 30% in advance, 70% before shipment"
    }
  }
}

The data is only encoded in the #fragment of the returned link and never passes through a server. Opening the link pre-fills the document in the tool page, so you can check it and then print and export the PDF. items is required, and each line must include description, qty, and unit_price.

Example prompt (send it to your AI assistant as-is)

「Open tools.waoww.com/tools/pitool/ and generate a PI for customer ABC Trading: 100 stainless steel water bottles at 12.5 USD each, FOB Shenzhen」

How It Works & Highlights

How it works, and where it fits

This tool is a purely front-end document generator. What you type in the form is rendered live in a print layout. AI auto-fill parses natural language through a cloud LLM API, and cloud storage saves the document JSON in your member cloud storage (R2 object storage plus D1 records, counting toward your 100MB quota). The file name is generated as "buyer_salesperson_type_document number", and saving again under the same name overwrites the old version; to fetch, pick a document from the dropdown. When printing, a CSS media query outputs only the document itself. For e-invoices, the document data is assembled into CII XML (BASIC profile, including line items) following EN 16931. The XML can be downloaded on its own, or embedded into an exported PDF as factur-x.xml with pdf-lib, with XMP metadata written in, to produce a ZUGFeRD hybrid PDF. Compared with a Word template, switching the document type does not need the content to be filled in again, amounts are calculated automatically, and changing a number updates the totals at once.

Highlights

  • ✓ Switch between PI, CI, and quotation with one click, and the layout adapts automatically
  • ✓ AI reads your emails and fills the form for you, so there is no manual entry
  • ✓ Save to member cloud storage and pick a document from the dropdown to continue on another device, and the print layout is precise
  • ✓ Export EN 16931 e-invoices (ZUGFeRD) that an EU customer's finance system can read directly
  • ✓ Free to use, with no sign-in needed for filling in the form and printing
  • ✓ The form and the print layout run locally in your browser, with no file upload needed

Tips

  • 💡 After filling in customer details (company, address, contacts) once, use "Export config" to back them up, then import them directly next time you bill the same customer
  • 💡 Write item descriptions in English with the standard product name, material, and purpose, so customs clearance and customer confirmation pass the first time
  • 💡 Before printing, check the browser print preview to confirm only one page is output, so no blank pages are wasted
  • 💡 The seller tax number, postcode, city, and country code are saved with the document once entered, so you do not need to fill them in again next time

Notes

  • ⚠️ The cloud file name is generated as "buyer_salesperson_type_document number" (pi-timestamp.json when the document number is empty). Saving again under the same name in the same account overwrites the old version, keeping only the latest copy.

How a PI, a CI and a packing list differ

What each document is for, and when to use it

Item Proforma invoice (PI) Commercial invoice (CI) Packing list
What it is for The basis for the customer to confirm the order and pay The formal document for customs, payment collection and the customer clearing customs Lists the packing details for customs and for the customer to check the goods
When it is issued Before the deal is closed, after the quotation is confirmed At shipping time, travelling with the goods At shipping time, travelling with the goods
Does it show amounts Yes: unit prices, amounts and the total Yes: unit prices, amounts and the total No amounts, only the number of packages, gross and net weight, and volume
Can it clear customs No, it only supports confirmation and payment Yes, it is a required customs document Only together with the CI, not on its own
Does this tool generate it Yes Yes No: this tool only makes PIs, CIs and quotations

After issuing the documents, use PDF Merger to combine the PI, the quotation and the packing list into one PDF for your customer.

FAQ

Privacy, format limits, and usage tips

AI auto-fill sends the text you paste to this site's Cloudflare backend, where a large language model parses fields such as the buyer, delivery date, and payment terms and fills them into the form. The model and the API are maintained by this site, so you do not need to configure a key yourself.
Documents are stored as JSON in your member cloud storage (R2 object storage plus D1 records, counting toward your 100MB quota). They are private by default and visible only to you, and you must sign in to save or fetch them. This site does not reuse your documents for any other purpose.
A machine-readable invoice: the PDF contains a CII XML file that follows the EN 16931 standard, so a German or EU customer's finance system can read it directly without manual entry. This tool generates the BASIC profile (including line items), which is the lowest profile recognised under German tax law.
The embedded XML uses the standard CII structure and can be read by e-invoicing systems. But this tool makes no claim about full PDF/A-3 compliance (including OutputIntent). If you need to pass strict checks such as veraPDF, use a professional tool to add OutputIntent first, then validate.
No. All computation for this tool happens in your browser's memory, and nothing remains after you close the page. No request is sent to this site's servers.
Any recent browser works (Chrome, Edge, Firefox, or Safari from the last three years). It works on phones too, but batch file handling and table checks are more efficient on a large screen.
Refresh the page first (resources may be cached by the browser), then check that the file format and size match the hints on the page. If it still fails, send the steps to reproduce via 「Feedback」 in the top bar.
For one AI fill, keep a single paste within 20,000 characters. There is no hard limit on the number of product lines; for multiple shipments, generate one document at a time. AI fill and cloud storage need a network connection and go through this site's Cloudflare backend. Electronic invoices need the seller's tax ID, both parties' postal codes, cities and country codes; VAT defaults to 0% for export (zero-rated).
One item at a time (one document, signature, or folder structure each). To handle more, repeat the operation.
PI, CI, or quotation print layout, exported as PDF through the browser's print function. Document data can be exported as a JSON backup. It can be saved to member cloud storage and pulled across devices by picking it from the dropdown. You can download the electronic invoice XML, or embed the XML into an exported PDF to make a ZUGFeRD file.
Yes, once the page has loaded successfully (it relies on the browser cache). If you clear the cache or switch devices, you need to go online to load it again.
No. Favorites and recent-use records only store tool names, never your files or text. When you are not signed in, favorites are kept only in your browser's localStorage; after signing in they sync to your account and work across devices. Recent-use records stay on your own machine.
First check that the input is complete and the format matches the hints on the page — you can click the example on the page to verify quickly. If it is still wrong, refresh the page and send us the steps and a screenshot via the feedback form.
Send your question or suggestion via 「Feedback」 in the top bar. Describe the use case and the outcome you want, and we will assess it before updating the tool and the page.

Related tutorials

Step-by-step guides for this tool on our blog