Commands: reports, data and invoices

report, reports, revenue, data export, payouts and invoices.

Overview

CommandModeWhat it does
reports exportreadsRevenue report as CSV on stdout
reports bookingsreadsBookings for your accountant: one row per booking, as CSV on stdout
reports tourist-taxreadsThe monthly tourist tax return per property, as CSV on stdout
reports distributionsreadsBooking pace against last year, length of stay, how far ahead guests book
payouts listreadsMoney received, by date (Stripe payouts, platform payouts, your own entries)
payouts addchangesRecord money received (a platform paid for a booking, or anything else)
payouts removechangesRemove a received-money entry you recorded
data exportreadsThe account's data on stdout: one JSON file, or one CSV of bookings, guests or messages (owner key)
invoices showreadsA booking's full invoice data (hostemi.invoice-details/2: bill to, lines with unit price and VAT, totals, platform amounts) and where its invoice stands
invoices listreadsBookings by invoice status (default: not invoiced yet)
invoices sendchangesSend a booking to your invoicing: the data to your webhook, or a draft in Számlázz.hu / Billingo (after check-in)
invoices issuechangesHostemi issues the booking's invoice itself and e-mails it to the guest (after check-in; asks you first)
invoices schemareadsThe JSON Schema of the invoice details Hostemi sends to your webhook (for building your integration)
invoices markchangesMark a booking as invoiced, with the number your invoicing app gave it
invoices settingsreadsHow a listing invoices: method, your details on invoices, VAT, automatic sending
invoices settings setchangesChange how a listing invoices (the app key is set in the app only)
invoices billingreadsThe company details the invoice goes to (given by the guest or you)
invoices billing setchangesSet the company details for the booking's invoice (all fields at once; none clears them)
invoices billing askchangesE-mail the guest a link to add their billing details (asks you first)
invoices accountantreadsThe monthly e-mail to your accountant: address, day, last sent
invoices accountant setchangesSend your accountant last month's bookings each month (a CSV link), or stop it
revenuereadsRevenue, occupancy and average night for one month
reports summaryreadsRevenue and occupancy for a period, per platform with --by-channel
report= reports summaryRevenue and occupancy; --csv prints the report as CSV

Generated from hostemi help --json of hostemi 0.4.0: the same tree the CLI prints its help, its completions and its option checks from. Modes: what each one does.

report

hostemi report

Revenue and occupancy; --csv prints the report as CSV. A short name for hostemi reports summary: it runs that command, with the arguments shown here and that command's options.

hostemi report [--period month|quarter|year] [--by-channel] [--csv] [--bookings] [--tourist-tax --month YYYY-MM]
Example
hostemi report
Output (recorded in a test workspace, exit 0)
Report · Nov 1 → 30

Revenue                               €0
Nights booked                         0 of 30 (0%)
Bookings                              0
Avg. night                            €0
Cleaning and other fees (in revenue)  €0
Average nightly price without fees    €0
Platform commission                   €0
You keep                              €0
Guests arriving                       0 (0 bookings)
Guest nights                          0 (0 adults, 0 children, 0 infants)
Average stay                          0 nights
Tourist tax base                      0 guest nights

Per platform: hostemi report --by-channel   As CSV: hostemi report --csv

reports

hostemi reports export

Revenue report as CSV on stdout. Reads only. Never asks.

hostemi reports export
OptionTypeDescription
--fromdateFirst day
--todateLast day (inclusive)
--propertystringProperty id

Mode: reads · API: GET /public/v1/reports/export.csv. Every command also takes the global options.

hostemi reports bookings

Bookings for your accountant: one row per booking, as CSV on stdout. Reads only. Never asks.

hostemi reports bookings
OptionTypeDescription
--fromdateFirst day
--todateLast day (inclusive)
--propertystringProperty id

Mode: reads · API: GET /public/v1/reports/bookings.csv. Every command also takes the global options.

Examples
hostemi reports bookings --from 2026-01-01 --to 2026-12-31

hostemi reports tourist-tax

The monthly tourist tax return per property, as CSV on stdout. Reads only. Never asks.

hostemi reports tourist-tax --month <string>
OptionTypeDescription
--monthstringYYYY-MM Required.
--propertystringProperty id (default: one section per property)

Mode: reads · API: GET /public/v1/reports/tourist-tax.csv. Every command also takes the global options.

Examples
hostemi reports tourist-tax --month 2026-11

hostemi reports distributions

Booking pace against last year, length of stay, how far ahead guests book. Reads only. Never asks.

hostemi reports distributions
OptionTypeDescription
--fromdateFirst day
--todateLast day (inclusive)
--propertystringProperty id
--listingstringListing id

Mode: reads · API: GET /public/v1/reports/distributions. Every command also takes the global options.

hostemi reports summary

Revenue and occupancy for a period, per platform with --by-channel. Reads only. Never asks.

hostemi reports summary [--period month|quarter|year] [--from <date> --to <date>] [--by-channel] [--property <id>] [--listing <id>]
OptionTypeDescription
--periodstringmonth, quarter or year
--fromdateFirst day
--todateLast day
--by-channelswitchSplit by platform
--propertystringProperty id
--listingstringOnly this listing

Mode: reads · API: GET /public/v1/reports/summary. Every command also takes the global options.

revenue

hostemi revenue

Revenue, occupancy and average night for one month. Reads only. Never asks.

hostemi revenue --month 2026-08 [--property <id>]
OptionTypeDescription
--monthstringYYYY-MM or a month name Required.
--propertystringProperty id

Mode: reads · API: GET /public/v1/reports/summary. Every command also takes the global options.

data

hostemi data export

The account's data on stdout: one JSON file, or one CSV of bookings, guests or messages (owner key). Reads only. Never asks.

hostemi data export
OptionTypeDescription
--formatstringjson (default) or csv
--typestringWith --format csv: bookings, guests or messages

Mode: reads · API: GET /public/v1/data-export. Every command also takes the global options.

payouts

hostemi payouts list

Money received, by date (Stripe payouts, platform payouts, your own entries). Reads only. Never asks.

Preview: reports.payouts
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi payouts list
OptionTypeDescription
--fromdateFirst day received
--todateLast day (inclusive)
--propertystringProperty id

Mode: reads · API: GET /public/v1/reports/payouts. Every command also takes the global options.

hostemi payouts add

Record money received (a platform paid for a booking, or anything else). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: reports.payouts
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi payouts add --received-on <date>
OptionTypeDescription
--received-ondateThe day the money arrived Required.
--bookingstringBooking id: amount and platform default to its payout
--propertystringProperty id
--amountamountAmount, major units
--currencystringISO code (HUF, EUR)
--platformstringAIRBNB, BOOKING_COM, SZALLAS_HU, ...
--referencestringThe payer's payout number
--notestringNote
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: POST /public/v1/reports/payouts. Every command also takes the global options.

Examples
hostemi payouts add --received-on 2026-11-12 --booking res_1

hostemi payouts remove

Remove a received-money entry you recorded. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: reports.payouts
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi payouts remove <id>
ArgumentRequiredDescription
<id>yesPayout id
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: DELETE /public/v1/reports/payouts/:id. Every command also takes the global options.

invoices

hostemi invoices show

A booking's full invoice data (hostemi.invoice-details/2: bill to, lines with unit price and VAT, totals, platform amounts) and where its invoice stands. Reads only. Never asks.

Preview: bookings.invoicing
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi invoices show <id>
ArgumentRequiredDescription
<id>yesBooking id

Mode: reads · API: GET /public/v1/reservations/:id/invoice-details. Every command also takes the global options.

Examples
hostemi invoices show <bookingId>

hostemi invoices list

Bookings by invoice status (default: not invoiced yet). Reads only. Never asks.

Preview: bookings.invoicing
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi invoices list
OptionTypeDescription
--statusstringnot_invoiced (default), sent, issued, failed or all One of: not_invoiced, sent, issued, failed, all.
--propertystringOnly this property
--fromdateDeparting on or after (YYYY-MM-DD)
--todateArriving on or before (YYYY-MM-DD)
--takeintHow many (max 200)
--cursorstringThe cursor of the previous page

Mode: reads · API: GET /public/v1/invoices. Every command also takes the global options.

Examples
hostemi invoices list --status not_invoiced

hostemi invoices send

Send a booking to your invoicing: the data to your webhook, or a draft in Számlázz.hu / Billingo (after check-in). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: bookings.invoicing
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi invoices send <id>
ArgumentRequiredDescription
<id>yesBooking id
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: POST /public/v1/reservations/:id/invoices/send. Every command also takes the global options.

Examples
hostemi invoices send <bookingId>

hostemi invoices issue

Hostemi issues the booking's invoice itself and e-mails it to the guest (after check-in; asks you first). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: bookings.invoicing
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi invoices issue <id>
ArgumentRequiredDescription
<id>yesBooking id
OptionTypeDescription
--send-to-guestswitchE-mail it to the guest (default true; --send-to-guest false only issues it)
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: POST /public/v1/reservations/:id/invoices/issue. Every command also takes the global options.

Examples
hostemi invoices issue <bookingId>

hostemi invoices schema

The JSON Schema of the invoice details Hostemi sends to your webhook (for building your integration). Reads only. Never asks.

Preview: bookings.invoicing
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi invoices schema

Mode: reads · API: GET /public/v1/schemas/invoice-details.json. Every command also takes the global options.

Examples
hostemi invoices schema

hostemi invoices mark

Mark a booking as invoiced, with the number your invoicing app gave it. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: bookings.invoicing
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi invoices mark <id> --number <string>
ArgumentRequiredDescription
<id>yesBooking id
OptionTypeDescription
--numberstringThe invoice number Required.
--issued-atdateYYYY-MM-DD (default today)
--issuerstringWho issued it, e.g. Számlázz.hu
--urlstringhttps link to the invoice in your app
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: POST /public/v1/reservations/:id/invoices. Every command also takes the global options.

Examples
hostemi invoices mark <bookingId> --number SZLA-2026-118 --issuer Számlázz.hu

hostemi invoices settings

How a listing invoices: method, your details on invoices, VAT, automatic sending. Reads only. Never asks.

Preview: bookings.invoicing
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi invoices settings <id>
ArgumentRequiredDescription
<id>yesProperty id

Mode: reads · API: GET /public/v1/properties/:id/invoicing. Every command also takes the global options.

Examples
hostemi invoices settings <propertyId>

hostemi invoices settings set

Change how a listing invoices (the app key is set in the app only). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: bookings.invoicing
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi invoices settings set <id>
ArgumentRequiredDescription
<id>yesProperty id
OptionTypeDescription
--methodstringAPP, AUTOMATION, HOSTEMI_DOCUMENT or MANUAL One of: APP, AUTOMATION, HOSTEMI_DOCUMENT, MANUAL.
--providerstringThe invoicing app (Hungarian listings) One of: SZAMLAZZ, BILLINGO.
--auto-sendswitchSend automatically (off by default)
--triggerstringWhen it sends automatically: after check-in (default), at checkout or when fully paid One of: CHECK_IN, CHECKOUT, PAID.
--stay-linestringHow the stay reads: per night, per room per night, per person per night One of: PLACE, ROOM, PERSON.
--prices-include-vatswitchYour prices include VAT (default true)
--issuer-namestringYour legal name on invoices
--issuer-tax-numberstringYour tax number
--issuer-vat-numberstringYour EU VAT number
--charges-vatswitchYou charge VAT
--vat-rate-bpintVAT rate in basis points (2700 = 27%)
--vat-exemptionstringWhy you charge no VAT, in your words
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: PUT /public/v1/properties/:id/invoicing. Every command also takes the global options.

Examples
hostemi invoices settings set <propertyId> --method AUTOMATION --auto-send true --trigger CHECK_IN

hostemi invoices billing

The company details the invoice goes to (given by the guest or you). Reads only. Never asks.

Preview: bookings.invoicing
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi invoices billing <id>
ArgumentRequiredDescription
<id>yesBooking id

Mode: reads · API: GET /public/v1/reservations/:id/billing. Every command also takes the global options.

Examples
hostemi invoices billing <bookingId>

hostemi invoices billing set

Set the company details for the booking's invoice (all fields at once; none clears them). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: bookings.invoicing
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi invoices billing set <id>
ArgumentRequiredDescription
<id>yesBooking id
OptionTypeDescription
--companystringCompany or name on the invoice
--tax-numberstringTax or EU VAT number
--streetstringStreet and number
--citystringCity
--postal-codestringPostal code
--countrystringTwo-letter country code
--emailstringE-mail for the invoice
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: PUT /public/v1/reservations/:id/billing. Every command also takes the global options.

Examples
hostemi invoices billing set <bookingId> --company "Example Kft." --tax-number 12345678-2-42 --street "Váci út 1" --city Budapest --postal-code 1133 --country HU

hostemi invoices billing ask

E-mail the guest a link to add their billing details (asks you first). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: bookings.invoicing
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi invoices billing ask <id>
ArgumentRequiredDescription
<id>yesBooking id
OptionTypeDescription
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: POST /public/v1/reservations/:id/billing/ask. Every command also takes the global options.

Examples
hostemi invoices billing ask <bookingId>

hostemi invoices accountant

The monthly e-mail to your accountant: address, day, last sent. Reads only. Never asks.

Preview: bookings.invoicing
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi invoices accountant

Mode: reads · API: GET /public/v1/invoicing/accountant. Every command also takes the global options.

Examples
hostemi invoices accountant

hostemi invoices accountant set

Send your accountant last month's bookings each month (a CSV link), or stop it. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: bookings.invoicing
Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.
hostemi invoices accountant set --enabled <boolean>
OptionTypeDescription
--enabledswitchOn or off Required.
--emailstringYour accountant's e-mail (required when on)
--dayintDay of the month, 1 to 28 (default 1)
--inputfileJSON body from a file, or - for stdin; flags win over it
--datajsonJSON body inline

Mode: changes · API: PUT /public/v1/invoicing/accountant. Every command also takes the global options.

Examples
hostemi invoices accountant set --enabled true --email [email protected] --day 3
Something missing from this page? Write to [email protected], or use the form on the Help page.