Skip to main content
Your booking data is the other side of the match, so it uses the same field names equate reads from each invoice (see invoice fields). On top of those, booking data can carry a few fields that only your booking system knows — your own booking ID, your own invoice ID and the invoice figures you hold. The same fields apply however the data reaches us: a database view or table, a booking API, a file feed or an uploaded CSV / Excel file. Your columns don’t have to use these exact names — you map them when you add booking data, and names are matched without regard to case.
Field names are camelCase, as they appear in our JSON: totalCost, bookingId, and lists as plural nouns (flights, passengers). When you send us data, case and punctuation don’t matter: TotalCost or total_cost work too.

How the fields are organised

The fields are grouped the same way as the Map fields step when you add booking data:
  1. Every booking: the fields every booking has, whatever you sell.
  2. One section per sector you sell (cruise, hotel, flights and so on), each with its own fields.
In each section the key fields come first; the rest sit under More fields. The more you provide, the stronger the match and the more reviewers see. Money fields are plain numbers with no currency symbol (8598.00). Dates are best as ISO 8601 (2027-01-28); if yours are ambiguous, set the source’s date format (see dates and numbers).

Every booking

invoiceId, isPrincipal, isCancelled, exchangeRate and the three Invoice… amounts have no counterpart on a supplier invoice, so they’re optional: if your business uses them, send them. The Invoice… amounts let equate tell a re-issued invoice whose money changed from one where only other details did (see the re-issues rule), and spot an invoice that’s already in your system.

By sector

When you add booking data you pick the sectors you sell, and each one adds its own section. A field can appear in several sectors. These are the defaults: your organisation’s business rules can move a field between key and more.

Cruise

Ski

Transfer

Flights

Trains

Hotel

Packages

Tours

What each sector field holds

List fields

The …JSON fields hold a JSON array, one object per flight, leg, transfer, package, extra or passenger. In a CSV, put the array in a single quoted cell.

Examples

A CSV with the Every booking key fields, a few of its more fields and the cruise key fields:
booking-data.csv
One cruise booking as JSON, with a list field filled in:
booking.json
Connecting a database? Expose these as columns on a view or table — see expose a clean view.

Empty and unknown values

equate treats every value your booking data holds as true, so a wrong value does more harm than a missing one.
  • Unknown or doesn’t apply: leave it empty. An empty cell, a missing column, null, "" and [] all mean the same thing: the field isn’t compared, and it never holds a match.
  • Never fill a gap with a placeholder such as N/A, TBC, Unknown, - or a default date like 1900-01-01. A placeholder reads as a real value that disagrees with the invoice, and sends good invoices to review. The one exception is a flight not confirmed yet: a flight number of TBC is recognised and that flight isn’t compared.
  • Always fill reference, bookingId, supplier, totalCost and invoiceCurrency. A booking without a reference can’t be found.
  • Zero amounts: 0 for vat, resortTax or commission is fine when it really is zero.
  • List fields: include only the legs or items that exist, rather than empty entries.

Dates and numbers

If a feed writes dates or numbers unusually, switch the source from Auto to an explicit format (e.g. DD/MM/YYYY, or 1.234,56) so ambiguous values are read the way the data was written.

Columns we don’t have a field for

To compare a column of your own with something on the invoice — a purchase order number, say — add a custom field and point it at that column. If you think equate should handle a field natively, let us know.