Reports tools
All tool areas. Each tool acts within your access.
Reports
get_bookings_report
Get counts, not money, for any range of local dates (up to 366 days), grouped by day, week (Monday), month, location, or product: confirmed bookings and their seats, who made them (the guest or staff), bookings canceled, and no-shows (null until check-in exists), plus the party size distribution over the range. Bookings are put in the range by basis (booked: the date confirmed; session: the date it runs), at each location's own time zone. On the booked basis a period that has gone by never changes: a seat change counts its seats on the day it was made, and a cancellation, on the day it happened, takes its booking and seats off (bookings and seats are net of it) and counts a canceled booking and its seats. The party size distribution is the parties as booked, whatever became of them. Needs bookings:read, checked for each location. columns and rows give the same figures as a table, to export as a CSV.
Reads · Members of an organization · Needs bookings:read
Input
fromFirst local date, inclusive
toLast local date, inclusive, up to 366 days after
frombasisWhich date puts an order in the range:
booked(the local date, at its location, the order was confirmed) orsession(the local date its session runs). Money that moved always uses its own datelocationIdThe location's id, from get_setup
productIdThe product's id, from list_products
groupByHow to group the rows (default day)
Output
fromtobasisgroupBycanExportWhether the organization's plan includes CSV export (Growth and up): the screen offers the download only then. The rows are the same either way
columnscolumns[]columns[].keycolumns[].labelcolumns[].kindrowsrows[]rows[].grouprows[].labelrows[].bookingsConfirmed bookings
rows[].seatsrows[].bookedByCustomerConfirmed bookings the guest made themselves
rows[].bookedByStaffConfirmed bookings staff made (walk-ins, phone)
rows[].canceledBookingsBookings canceled, on the day of the cancellation (booked basis) or the session's day
rows[].canceledSeatsrows[].noShowsNull until check-in is kept
totalstotals.grouptotals.labeltotals.bookingsConfirmed bookings
totals.seatstotals.bookedByCustomerConfirmed bookings the guest made themselves
totals.bookedByStaffConfirmed bookings staff made (walk-ins, phone)
totals.canceledBookingsBookings canceled, on the day of the cancellation (booked basis) or the session's day
totals.canceledSeatstotals.noShowsNull until check-in is kept
partySizeColumnspartySizeColumns[]partySizeColumns[].keypartySizeColumns[].labelpartySizeColumns[].kindpartySizesConfirmed bookings by party size, smallest first
partySizes[]partySizes[].partySizepartySizes[].bookingsConfirmed bookings of it
get_sales_report
Get sales for any range of local dates (up to 366 days), grouped by day, week (Monday), month, location, or product: per group and currency, the orders, seats, tickets, extras, discounts, net sales (after discounts, before service charge and tax), service charge, tax, and total booked; then what was collected (payments less refunds, on the date the money moved), refunded, and the balance due. Booked is what was sold (orders by the date they were confirmed, or by basis: session the date their session runs, at each location's own time zone); collected is only money that moved, so an unpaid staff booking is booked and never collected. collectedByTender splits collected by what it moved by; a refund given as a credit or gift certificate instead of back to the card or the desk is refunded under its own tender (given_as_credit, given_as_gift_certificate), never the card's. On the booked basis a seat change counts its difference on the day it was made, not on the booking's, so a day that has gone by never changes. Currencies are never added together. Needs revenue:read, checked for each location: a member at one location sees only its figures. columns and rows give the same figures as a table, to export as a CSV.
Reads · Members of an organization · Needs revenue:read
Input
fromFirst local date, inclusive
toLast local date, inclusive, up to 366 days after
frombasisWhich date puts an order in the range:
booked(the local date, at its location, the order was confirmed) orsession(the local date its session runs). Money that moved always uses its own datelocationIdThe location's id, from get_setup
productIdThe product's id, from list_products
groupByHow to group the rows (default day)
Output
fromtobasisgroupBycanExportWhether the organization's plan includes CSV export (Growth and up): the screen offers the download only then. The rows are the same either way
columnscolumns[]columns[].keycolumns[].labelcolumns[].kindrowsrows[]rows[].groupThe group's key: its date (a week's Monday, a month's first), or the location or product id
rows[].labelrows[].currencyrows[].ordersConfirmed orders booked in the range, by the basis; a cancellation takes its order off on the day it was canceled (booked basis)
rows[].canceledOrdersOrders canceled in the range (booked basis: on the day of the cancellation; session basis: the order's session day). The cancellation counts what the order kept: the money it holds after refunds, however much, shared across the amounts below in proportion to what it was last booked at, so with its sale and seat changes it equals what was collected on it
rows[].seatsSeats on the confirmed orders, as booked; a seat change adds or takes off its seats on the day it was made, and a cancellation takes its seats off on the day it happened (booked basis)
rows[].ticketsTicket lines before discounts, without fees or tax
rows[].extrasAdd-ons and menu supplements before discounts
rows[].discountsWhat promo codes and free stored value took off tickets and extras. A waived service charge isn't here: it's lower serviceCharge
rows[].netSalestickets + extras - discounts, before service charge and tax
rows[].serviceChargeFees on the orders booked, before their tax
rows[].taxMinor units (cents) in the row's currency
rows[].totalBookednetSales + serviceCharge + tax: what was sold, whether or not it was paid
rows[].paymentsPayments that succeeded in the range, on the local date each came in, for any order
rows[].refundedRefunds requested in the range (pending or succeeded), on the local date asked, for any order
rows[].collectedpayments - refunded: the money kept that moved in the range. A staff booking nobody has paid is booked and never here
rows[].balanceDueUnpaid on the confirmed orders booked in the range, as of now (paymentStateOf)
rows[].overPaidPaid beyond the total on those orders as of now (seats removed from a paid order), owed back to the guest
totalsOne row for each currency, over every row
totals[]totals[].groupThe group's key: its date (a week's Monday, a month's first), or the location or product id
totals[].labeltotals[].currencytotals[].ordersConfirmed orders booked in the range, by the basis; a cancellation takes its order off on the day it was canceled (booked basis)
totals[].canceledOrdersOrders canceled in the range (booked basis: on the day of the cancellation; session basis: the order's session day). The cancellation counts what the order kept: the money it holds after refunds, however much, shared across the amounts below in proportion to what it was last booked at, so with its sale and seat changes it equals what was collected on it
totals[].seatsSeats on the confirmed orders, as booked; a seat change adds or takes off its seats on the day it was made, and a cancellation takes its seats off on the day it happened (booked basis)
totals[].ticketsTicket lines before discounts, without fees or tax
totals[].extrasAdd-ons and menu supplements before discounts
totals[].discountsWhat promo codes and free stored value took off tickets and extras. A waived service charge isn't here: it's lower serviceCharge
totals[].netSalestickets + extras - discounts, before service charge and tax
totals[].serviceChargeFees on the orders booked, before their tax
totals[].taxMinor units (cents) in the row's currency
totals[].totalBookednetSales + serviceCharge + tax: what was sold, whether or not it was paid
totals[].paymentsPayments that succeeded in the range, on the local date each came in, for any order
totals[].refundedRefunds requested in the range (pending or succeeded), on the local date asked, for any order
totals[].collectedpayments - refunded: the money kept that moved in the range. A staff booking nobody has paid is booked and never here
totals[].balanceDueUnpaid on the confirmed orders booked in the range, as of now (paymentStateOf)
totals[].overPaidPaid beyond the total on those orders as of now (seats removed from a paid order), owed back to the guest
collectedByTendercollectedByTender[]collectedByTender[].tenderWhat it moved by: the card, or what staff took offline; or
given_as_credit/given_as_gift_certificate, refunds given as a credit or gift certificate instead of back where they were paid (no money left the provider or the till)collectedByTender[].currencycollectedByTender[].amountMinor units (cents) in the row's currency
giftCertificatesSoldgiftCertificatesSold[]giftCertificatesSold[].currencygiftCertificatesSold[].countgiftCertificatesSold[].amountMinor units (cents) in the row's currency
paidWithGiftCertificatespaidWithGiftCertificates[]paidWithGiftCertificates[].currencypaidWithGiftCertificates[].amountMinor units (cents) in the row's currency
paidWithCreditspaidWithCredits[]paidWithCredits[].currencypaidWithCredits[].amountMinor units (cents) in the row's currency
get_service_charge_report
Get the service charge (every fee) for any range of local dates (up to 366 days), by location and day, month, or the whole range, in each currency: charged, waived by a promo code, kept on refunded orders, refunded, and net, before tax (its tax is in get_tax_report). Orders are put in the range by basis (booked: the date confirmed; session: the date it runs). A fee sold as non-refundable stays at what was paid toward it when seats are removed or a refund is made, so it stays in net. Needs revenue:read, checked for each location.
Reads · Members of an organization · Needs revenue:read
Input
fromFirst local date, inclusive
toLast local date, inclusive, up to 366 days after
frombasisWhich date puts an order in the range:
booked(the local date, at its location, the order was confirmed) orsession(the local date its session runs). Money that moved always uses its own datelocationIdThe location's id, from get_setup
productIdThe product's id, from list_products
periodGroup the charge by day, month, or all together
Output
fromtobasisperiodcanExportWhether the organization's plan includes CSV export (Growth and up): the screen offers the download only then. The rows are the same either way
columnscolumns[]columns[].keycolumns[].labelcolumns[].kindrowsrows[]rows[].locationIdrows[].locationrows[].periodThe day, the month's first day, or
allover the rangerows[].currencyrows[].chargedFees on the orders booked in the period, before their tax (a cancellation counts, on its day, the fee within the money the order kept less the fee already counted)
rows[].waivedFees a waive-service-charge promo code took off
rows[].keptOnRefundedOrdersNon-refundable fees held on orders that have had a refund (the fee a refund never returns), included in net
rows[].refundedRefundable fees given back in goodwill refunds on those orders, whenever they were made. The non-refundable service charge is never refunded, except when Lokl can't seat a paid order (which was never booked)
rows[].netcharged - refunded
rows[].uncollectedThe share of net in what is still unpaid, as of now
totalstotals[]totals[].locationIdtotals[].locationtotals[].periodThe day, the month's first day, or
allover the rangetotals[].currencytotals[].chargedFees on the orders booked in the period, before their tax (a cancellation counts, on its day, the fee within the money the order kept less the fee already counted)
totals[].waivedFees a waive-service-charge promo code took off
totals[].keptOnRefundedOrdersNon-refundable fees held on orders that have had a refund (the fee a refund never returns), included in net
totals[].refundedRefundable fees given back in goodwill refunds on those orders, whenever they were made. The non-refundable service charge is never refunded, except when Lokl can't seat a paid order (which was never booked)
totals[].netcharged - refunded
totals[].uncollectedThe share of net in what is still unpaid, as of now
get_tax_report
Get the tax to remit, for any range of local dates (up to 366 days): per location, then tax class and rate, the taxable amount and the tax booked, refunded, and net, in each currency. Orders are put in the range by basis (booked: the date confirmed; session: the date it runs), at each location's own time zone, and the figures are the orders' locked totals: fees are taxed only where their tax class says so. Refunds are attributed to the order they were made on, not to the day they were made. taxUncollected is the share of the net tax still unpaid. A cancellation counts, on the day it happened, the tax on what the order kept (the money it holds after refunds, in proportion to what it was last booked at) less the tax already counted for it. A seat change counts for its difference, on the date it was made, so a period that has gone by never changes because of a later change or cancellation. Needs revenue:read, checked for each location.
Reads · Members of an organization · Needs revenue:read
Input
fromFirst local date, inclusive
toLast local date, inclusive, up to 366 days after
frombasisWhich date puts an order in the range:
booked(the local date, at its location, the order was confirmed) orsession(the local date its session runs). Money that moved always uses its own datelocationIdThe location's id, from get_setup
productIdThe product's id, from list_products
Output
fromtobasiscanExportWhether the organization's plan includes CSV export (Growth and up): the screen offers the download only then. The rows are the same either way
columnscolumns[]columns[].keycolumns[].labelcolumns[].kindrowsrows[]rows[].locationIdrows[].locationrows[].taxClassrows[].taxNamerows[].ratePpmParts per million: 13% is 130000
rows[].currencyrows[].taxableBookedWhat the tax was charged on (lines and fees taxed at this rate), on the orders booked in the range
rows[].taxBookedMinor units (cents) in the row's currency
rows[].taxableRefundedMinor units (cents) in the row's currency
rows[].taxRefundedThe tax in goodwill refunds on those orders, whenever they were made: each refund takes the same share of every refundable part (never the non-refundable fees and their tax)
rows[].taxableNetMinor units (cents) in the row's currency
rows[].taxNettaxBooked - taxRefunded: the tax to remit for these sales
rows[].taxUncollectedThe share of taxNet in what is still unpaid on those orders (as of now), so a bookkeeper on cash basis can take it off
totalsOne row for each currency, over every rate. The taxable amounts are null there: a line taxed at two rates would count twice
totals[]totals[].locationIdtotals[].locationtotals[].taxClasstotals[].taxNametotals[].ratePpmParts per million: 13% is 130000
totals[].currencytotals[].taxableBookedWhat the tax was charged on (lines and fees taxed at this rate), on the orders booked in the range
totals[].taxBookedMinor units (cents) in the row's currency
totals[].taxableRefundedMinor units (cents) in the row's currency
totals[].taxRefundedThe tax in goodwill refunds on those orders, whenever they were made: each refund takes the same share of every refundable part (never the non-refundable fees and their tax)
totals[].taxableNetMinor units (cents) in the row's currency
totals[].taxNettaxBooked - taxRefunded: the tax to remit for these sales
totals[].taxUncollectedThe share of taxNet in what is still unpaid on those orders (as of now), so a bookkeeper on cash basis can take it off