Free browser tool for wholesale teams

QBO/Xero Quote CSV Pre-Flight Validator & Branded Quote PDF

Catch the CSV problems QuickBooks Online and Xero reject later: character limits, duplicate document numbers, bad tax codes, negative discount lines, broken line math, hidden characters, and QBO batch-size limits.

100% local in your browser — your price lists and margins never leave your device.

Step 1

Branding & tax settings

These details stay in this browser's local storage. Paste your active tax codes once so the validator can check tax values row by row.

Logo preview

No logo saved.

Settings load automatically when you return to this page.

Step 2

Validate a quote or invoice file

Choose the target system, then select a CSV or XLSX file. The tool auto-detects the header row and common column names.

Import target

No file selected.

Columns the validator can auto-match

DocNumber/InvoiceNumber/QuoteNumber, Customer/ContactName, Item/ItemName or SKU/ItemCode, Description, Qty/Quantity, Rate/UnitPrice/UnitAmount, DiscountPct, Amount/LineTotal, TaxCode/TaxType, TaxAmount, Title, Summary, Terms, Date, DueDate/ExpiryDate, and Currency.

No more CSV cleanup

Tired of fighting CSV imports?

QuoteGuard turns emailed RFQs into validated draft quotes — no CSV uploads. It checks margin, MOQ, unit-of-measure, tax, and customer-specific rules before a rep hits send.

Need accounting or automation plumbing meanwhile? Try Xero for clean invoicing or n8n for controlled email-to-spreadsheet workflows.

How the validator works

The tool reads your CSV or Excel file in the browser, finds the header row, and maps common QuickBooks Online and Xero column names into one internal line model. It then checks the file the way an operations coordinator would before an import: first document identity, then customer and item fields, then tax, then arithmetic, and finally file-format corruption.

Character checks are target-specific. For QuickBooks Online, the validator checks the 21-character DocNumber limit, the 100-character customer DisplayName limit, disallowed colons and quotes in customer names, the 31-character item-name limit, the 100-character SKU limit, and the 4,000-character description limit. For Xero, it checks the 30-character ItemCode limit, hidden leading or trailing spaces, the 255-character document-number limit, and the Title, Summary, and Terms limits.

QuickBooks batch imports get two extra checks. First, output files are split when they would exceed 100 unique documents or 1,000 rows. Second, negative unit prices and discount-style lines are flagged because they are a common cause of failed batch transaction imports. Money is also normalized: $1,250.00 becomes 1250.00, without a currency symbol or thousands comma.

Tax validation depends on the target. QBO rows compare the row's tax code with the active list you paste in the settings panel. Xero rows accept known sales-side tax types such as OUTPUT, EXEMPTOUTPUT, TAX001, and NONE, plus any extra active codes you paste. INPUT-style purchase tax types are blocked on revenue rows because they do not belong on customer quotes or invoices.

Duplicate detection works across the whole file, not just row by row. If the same document number appears for two customers, every affected row is flagged. In QBO mode, the validator also truncates every document number to 21 characters and looks for collisions. That catches the classic Error 6140 pattern where two long numbers look different to a coordinator but become identical to QuickBooks.

Line math uses integer cents. The expected amount is round(qty × unit price × (1 - discount), 2). Using cents avoids floating-point drift such as 0.1 + 0.2 producing a long binary fraction. If the file's line total differs from the expected cents value, the row is marked as an error.

Worked example

A coordinator exports a draft quote with DocNumber Q-2026-00000000000000EAST. The number is 25 characters, so QBO would truncate it. A second draft uses Q-2026-00000000000000WEST; after truncation, both become the same 21 characters. The validator flags both rows and explains the Error 6140 collision. Another row says 2 × $1,250.00 = $2,400.00. The expected amount is 2500.00, so the line-math check flags the missing $100 before the customer ever sees it.

FAQ

Does this tool upload my price list or customer data?

No. The CSV or XLSX file is parsed inside your browser with JavaScript. The file is not uploaded, stored on a server, or sent to an AI model.

Will the sanitized file always import cleanly?

No tool can guarantee that, because QuickBooks Online and Xero also validate customers, items, accounts, tax settings, and permissions inside your company file. This validator catches the file-format and data problems listed on this page before you import.

Why does QBO Error 6140 happen?

QuickBooks Online treats document numbers as duplicates when the effective numbers collide. Long numbers can also collide after truncation to the 21-character import limit. The validator checks both exact duplicates across customers and 21-character collisions.

Can I print a quote PDF even if the import file has warnings?

Yes. Review the warnings first, choose the document number, and use Print / Save as PDF. For accounting accuracy, fix rows marked with errors before sending the customer-ready quote.

Which columns does the validator expect?

It auto-matches common headers such as DocNumber or InvoiceNumber, Customer or ContactName, Item/SKU/ItemCode, Description, Qty/Quantity, Rate/UnitAmount, DiscountPct, Amount/LineTotal, TaxCode or TaxType, and TaxAmount.