Invoice line item extraction template

One item is one line on one supplier invoice. Suppliers, as PDFs, which is why this one is usually filled by dropping the invoice itself rather than a spreadsheet.

FieldTypeRulesNote
Invoice numbertextRequired
Invoice datedateRequired
SuppliertextRequired
Line descriptiontextRequired
QuantitynumberRequired
Unit pricenumberRequired
Line totalnumberOptional
CurrencyenumUSD · EUR · GBPRequired
Tax rate (%)numberOptional

What this collection refuses to accept

A quantity or unit price that was read from the PDF as text rather than a figure is flagged on its own value, with the item it came from.

A tax rate arriving as “20%” becomes 20 rather than failing, and one arriving as “standard” is refused.

An invoice date in a European order is read consistently across the file rather than per item.

Other collections people start from