Bills to pay
| Supplier | Invoice number | Date | Total | Status |
|---|
Made-up suppliers, orders, prices and GST numbers. Nothing is sent or stored.
Invoice
You can change any number on the invoice. The check updates as you type.
About this demo
Matching supplier invoices to purchase orders was part of my job as a Purchaser at Häfele. This demo matches each invoice to its purchase order line by line and checks it against Inland Revenue's tax invoice rules. It lists what a person needs to look at before the bill is paid.
It uses written rules, not AI. It runs in your browser, and nothing you type is sent anywhere. Approve and Hold only change this page.
GST number check
GST numbers use the same check digit as IRD numbers, so a mistyped number usually fails it.
Type or paste a GST number to check it.
How it checks
| Check | Holds the bill | Only a note |
|---|---|---|
| Order number and supplier | Either one is different from the purchase order. | Never |
| Price | The invoice price is higher than the order price. | The price is lower, or the difference is under the cents tolerance or inside the percent tolerance. |
| Quantity | More is invoiced than was ordered. | Fewer is invoiced, as the rest may come later. |
| Lines | An extra line, or the same item on more than one line. | A line on the order is not on the invoice. |
| A possible duplicate | The same supplier with the same invoice number, or the same total within 5 days. | Never |
| GST and totals | GST is not 15% of the subtotal, to within a cent, or the totals do not add up. | Never |
| Supplier's GST number | Over $200, the number is missing or fails the IRD check digit. | Never |
| Invoice date | The invoice does not show the date it was issued. | Never |
| Your details | Over $1,000, your business name or one identifier, such as an address or NZBN, is missing. | Never |
What it does not do
- It does not check the goods receipt, so it is a two-way match, not a three-way match.
- It does not read PDF invoices. The numbers are typed in.
- Money is held in whole cents, so the sums are exact. 72 automated tests cover the rules, the extra features and every sample bill.