---
title: "Invoice & Receipt Field Annotation Guideline"
subtitle: "Maurvi AI - Document AI demonstration project - Version 1.0"
---

> **DEMONSTRATION PROJECT.** This guideline was written for a Maurvi AI demonstration using 250 _synthetic_ invoices and receipts. All vendors, buyers, GSTINs and amounts are invented. It is a sample of how Maurvi AI writes annotation guidelines. It is not the output of a client engagement.

# 1. Purpose and scope

You will read an invoice or receipt image and record **10 header fields** and **all line items** in a structured form. The data will be used to train and evaluate document-extraction models, so **consistency matters more than speed**. When the document is ambiguous, follow the rules in this guide rather than your own judgement, and flag the document in the **Notes** box.

**Not in scope for this guideline version:** HSN/SAC codes, addresses, buyer GSTIN, due dates, payment terms, bank details, amount in words, signatures. Ignore them.

# 2. Workflow for each document

1. Open the document. Zoom and rotate if the scan is tilted.
2. Fill every field in the order shown (vendor, buyer, number/date, amounts, tax type, line items).
3. Run the **self-review checklist** (section 7) before you submit.
4. If you cannot read a value with confidence, type `UNREADABLE` in that field and write a short note in the **Notes** box. Never guess a number.

Work only from the document image shown in the annotation tool. Do not use any other source to look up answers.

# 3. Header fields

| #   | Field            | What to record                                                           | Format rule                                                                             | Example                     |
| --- | ---------------- | ------------------------------------------------------------------------ | --------------------------------------------------------------------------------------- | --------------------------- |
| 1   | `vendor_name`    | The seller who issued the document (usually the largest name at the top) | As printed. Keep capitalisation, "Pvt Ltd", "&", full stops                             | `Kaveri Stationers Pvt Ltd` |
| 2   | `vendor_gstin`   | The **seller's** 15-character GSTIN                                      | Uppercase, no spaces                                                                    | `37ZZZZZ1234A1Z5`           |
| 3   | `buyer_name`     | The customer / "Bill To" name                                            | As printed. **Leave blank** if no customer is named                                     | `Nimbus Labs Pvt Ltd`       |
| 4   | `invoice_number` | The number printed next to the invoice/bill label                        | Exactly as printed, including prefixes, slashes and hyphens. Do not include the label   | `MA/25-26/0123`             |
| 5   | `invoice_date`   | The **issue date** of the document                                       | `YYYY-MM-DD`. Indian documents are day-first (see 5.4)                                  | `2026-06-09`                |
| 6   | `subtotal`       | Sum of line amounts **before** discount and tax                          | Digits and one decimal point, two decimals, no commas or currency                       | `36169.85`                  |
| 7   | `discount`       | Total discount amount                                                    | Positive number. `0.00` when there is no discount line                                  | `1808.49`                   |
| 8   | `tax_total`      | Total GST charged                                                        | CGST + SGST added together, or the IGST amount. Not the percentage                      | `6185.04`                   |
| 9   | `total`          | Final amount payable, **after** round off                                | Same amount format                                                                      | `40546.40`                  |
| 10  | `tax_type`       | Which GST structure the document uses                                    | Select `CGST_SGST` if CGST and SGST lines appear. Select `IGST` if an IGST line appears | `IGST`                      |

# 4. Line items

Enter **one line per item**, top to bottom, in this exact format:

```
description | quantity | rate | amount
```

| Part        | Rule                                                                                |
| ----------- | ----------------------------------------------------------------------------------- |
| description | As printed. Do not shorten, correct spelling or change capitalisation               |
| quantity    | As printed, number only. Keep decimals if shown (`14.9`). Do not add trailing zeros |
| rate        | Unit price, two decimals, no commas or currency                                     |
| amount      | Line total, two decimals, no commas or currency                                     |

Use a vertical bar `|` with a space on each side. Do not include the serial number (`#` column) or HSN codes. Do not add a line for subtotal, tax, discount or round off.

Example:

```
Wireless Mouse | 3 | 695.00 | 2085.00
Cotton Waste (kg) | 14.9 | 62.03 | 924.25
```

On receipts the quantity and rate appear on the second line under the description (for example `3 x 132.92`). Read them from there.

# 5. Edge cases and decisions

**5.1 Two GSTINs on one document.** A document may show the seller's GSTIN (near the vendor name or in the footer) and the buyer's GSTIN (under "Bill To"). Record only the **seller's**. If you are unsure, the seller's GSTIN is the one in the same block as the vendor name or in the "registered under GST" footer.

**5.2 Issue date vs due date.** Some documents show both. Record the **issue date** (labelled "Date", "Invoice date" or "Issue date"). Never record the due date.

**5.3 Receipts with a time stamp.** Record the date only. Ignore the time.

**5.4 Date formats.** All documents are day-first. `03/04/2026` means 3 April 2026, not 4 March. Convert any format (`26-Oct-2025`, `26 October 2025`, `26.10.2025`) to `YYYY-MM-DD`.

**5.5 Amount formatting.** Remove currency words and symbols (`Rs.`, `INR`) and all commas, including Indian lakh-style commas. `Rs. 1,23,456.5` becomes `123456.50`. Always include two decimals.

**5.6 Discount.** If the document shows a discount line such as `Discount (10%)`, record the amount as a positive number. If there is none, enter `0.00`. The `subtotal` is still the figure **before** discount.

**5.7 Round off.** If the document shows a `Round off` line, do not record it separately. The `total` is the final payable figure printed at the bottom (Grand Total, Total Amount, Net Payable, Amount Due).

**5.8 Tax percentage in labels.** `CGST @9%` is a label. Record the rupee amount on the right. `tax_total` is CGST + SGST (for example 2 x 1,000.00 = `2000.00`).

**5.9 Missing buyer.** If no customer name is printed (common on receipts), leave `buyer_name` empty. Do not type "NA" or "N/A".

**5.10 Invoice number prefixes.** Copy the number exactly as printed to the right of the label: `#4552`, `BL0682`, `SI/0042`, `INV-2026-0042`. Do not add or remove characters.

**5.11 Unreadable or cut-off values.** Type `UNREADABLE` in that field and add a note. Do not estimate. If only one line item is unreadable, enter the readable parts and use `UNREADABLE` for the unreadable part (for example `HDMI Cable 2m | 5 | UNREADABLE | 750.00`).

**5.12 Tilted, blurred or shadowed scans.** Annotate normally. These documents are included on purpose. Zoom in and use the tool's rotate control if needed.

**5.13 Quantity where unit is in the description.** Descriptions such as `Steel Rod 12mm (kg)` keep the unit in the description. The quantity field holds only the number.

**5.14 Watermark footer.** Every document carries a footer reading "SAMPLE - SYNTHETIC DOCUMENT". Ignore it.

# 6. Quality metrics used in this project

| Metric                        | Definition                                                                                                            |
| ----------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| **Strict field accuracy**     | Share of fields whose value matches the reference exactly as typed, using the formats in this guideline               |
| **Lenient field accuracy**    | Share of fields that match after normalising case, spacing, commas, currency symbols and date format                  |
| **Format-only error rate**    | Share of fields that are correct in substance but were typed in the wrong format (the gap between strict and lenient) |
| **Line-item row accuracy**    | Share of reference line-item rows where all four parts match (lenient)                                                |
| **Document-level accuracy**   | Share of documents where every header field and every line item matches (lenient)                                     |
| **Inter-annotator agreement** | Share of fields on which two independent annotators produced the same lenient value                                   |
| **Average handling time**     | Mean time per document recorded by the annotation tool                                                                |

# 7. Self-review checklist (before submitting)

- [ ] Vendor GSTIN is the **seller's**, 15 characters, uppercase
- [ ] Date is the **issue** date, in `YYYY-MM-DD`
- [ ] All amounts have two decimals, no commas, no `Rs.`/`INR`
- [ ] `subtotal` equals the sum of the line amounts (quick check)
- [ ] `total` is the final payable figure, after round off
- [ ] `tax_type` matches the tax lines shown
- [ ] Every line item has four parts separated by `|`
- [ ] Number of lines entered equals number of items on the document
- [ ] Anything unreadable is marked `UNREADABLE` with a note

# 8. Quality assurance process

1. **Self review:** annotator runs the checklist above.
2. **Blind second pass:** a second annotator independently labels a sampled subset without seeing the first annotator's work.
3. **Scoring:** results are compared against the reference answers and against each other. Errors are logged by type (wrong value, format only, missing field, missing/extra row).
4. **Adjudication:** a lead resolves every disagreement. If the guideline caused the confusion, the guideline is updated, which creates a new version and an entry in the change log below.
5. **Re-measurement:** a new sample is labelled with the updated guideline to confirm that accuracy improved.

# 9. Change log

| Version | Date                            | Change          | Reason (error type it addresses) |
| ------- | ------------------------------- | --------------- | -------------------------------- |
| 1.0     | 2026-10                         | Initial version | -                                |
| 1.1     | _to be filled after round 1 QA_ |                 |                                  |
