---
title: "Commands: bookings, guests and payments | Hostemi"
description: "bookings, requests, inquiries, payments, charges and guests. Step-by-step help from the Hostemi docs for vacation rental hosts, cli command reference section."
canonical: https://hostemi.com/docs/cli/reference/bookings
source: https://hostemi.com/docs/cli/reference/bookings.md
---

# Commands: bookings, guests and payments

bookings, requests, inquiries, payments, charges and guests.

#### On this page

1. [Overview](#overview)
2. [bookings](#bookings)
3. [booking](#booking)
4. [reservations](#reservations)
5. [requests](#requests)
6. [inquiries](#inquiries)
7. [payments](#payments)
8. [charges](#charges)
9. [guests](#guests)

## Overview

| Command | Mode | What it does |
| --- | --- | --- |
| [`bookings list`](#bookings-list) | reads | Bookings, with guest, listing and property |
| [`bookings get`](#bookings-get) | reads | One booking |
| [`bookings create`](#bookings-create) | changes | Create a manual or direct booking (platform bookings come in by themselves) |
| [`bookings modify`](#bookings-modify) | changes | Change guests, listing, price plan or notes (dates: \`bookings move\`) |
| [`bookings move`](#bookings-move) | changes | Move a manual or direct booking to new dates (platform bookings: 409) |
| [`bookings cancel`](#bookings-cancel) | host approves | Ask the host to cancel a booking (the API never cancels) |
| [`bookings confirm`](#bookings-confirm) | changes | Confirm a hold (PROVISIONAL → CONFIRMED) |
| [`bookings hold`](#bookings-hold) | changes | Turn a booking request into a hold, or extend a hold |
| [`bookings check-in`](#bookings-check-in) | changes | Check the guest in |
| [`bookings check-out`](#bookings-check-out) | changes | Check the guest out |
| [`bookings no-show`](#bookings-no-show) | changes | Mark a no-show and free the nights (reported to the platform where it takes one) |
| [`bookings pending`](#bookings-pending) | reads | A platform change waiting on this booking, as before / after |
| [`bookings resolve`](#bookings-resolve) | host approves | Ask the host to accept, decline or withdraw a pending platform change |
| [`payments record`](#payments-record) | changes | Record money the host received (twice = two payments) |
| [`payments refund-suggestion`](#payments-refund-suggestion) | reads | What the guest would get back if the booking were cancelled now (by the cancellation policy) |
| [`payments refund`](#payments-refund) | host approves | Ask the host to refund (the API never moves money) |
| [`requests list`](#requests-list) | reads | Requests to book and booking requests waiting for an answer, nearest deadline first |
| [`requests get`](#requests-get) | reads | One request with its deadline and allowed answers |
| [`requests accept`](#requests-accept) | host approves | Propose accepting a request to book (the host confirms) |
| [`requests decline`](#requests-decline) | host approves | Propose declining a request to book (the host confirms) |
| [`inquiries list`](#inquiries-list) | reads | Open booking requests |
| [`inquiries preapprove`](#inquiries-preapprove) | host approves | Propose pre-approving a booking request |
| [`inquiries offer`](#inquiries-offer) | host approves | Propose a special offer for a booking request |
| [`inquiries decline`](#inquiries-decline) | host approves | Propose declining a booking request |
| [`guests list`](#guests-list) | reads | Search guests |
| [`guests get`](#guests-get) | reads | One guest with bookings |
| [`guests update`](#guests-update) | changes | Change guest details |
| [`charges list`](#charges-list) | reads | Extra charges on a booking |
| [`charges add`](#charges-add) | changes | Add an extra charge to a booking (NTAK category + VAT rate) |
| [`charges add-many`](#charges-add-many) | changes | Add many charges in one write: --input charges.json ({"charges":\[…\]}) |
| [`charges remove`](#charges-remove) | changes | Remove an extra charge from a booking |
| [`charges property`](#charges-property) | reads | Charges that belong to no booking |
| [`charges property add`](#charges-property-add) | changes | Record a charge that belongs to no booking |
| [`charges property remove`](#charges-property-remove) | changes | Remove a property charge |
| [`bookings checkin-link`](#bookings-checkin-link) | shows, then does | E-mail the guest the self check-in link (shows the address first) |
| [`bookings access`](#bookings-access) | reads | How the guest gets in: their own door code and each door's state |
| [`bookings access update`](#bookings-access-update) | changes | Make the booking's door code again (no flags), move when it works (--from and --until), or put it in a room (--room-id) |
| [`bookings balance`](#bookings-balance) | reads | The rest of a website deposit booking: how much, due when, paid or not |
| [`bookings balance ask`](#bookings-balance-ask) | changes | E-mail the guest the card payment link for the rest, now (asks you first) |
| [`bookings balance charge-card`](#bookings-balance-charge-card) | changes | Charge the rest to the card the guest kept at booking (asks you first, never automatic) |
| [`bookings`](#bookings) | reads | Bookings: the upcoming ones by default (not the cancelled ones) |
| [`booking`](#booking) | reads | One booking |
| [`payments list`](#payments-list) | reads | Card payments on a booking |
| [`reservations finance`](#reservations-finance) | reads | Money on one booking: platform commission, net payout, guarantee |

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](https://hostemi.com/docs/cli/approvals).

## bookings

### hostemi bookings list

Bookings, with guest, listing and property. Reads only. Never asks.

```bash
hostemi bookings list
```

| Option | Type | Description |
| --- | --- | --- |
| `--from` | date | Overlapping from |
| `--to` | date | Overlapping to |
| `--status` | string | CONFIRMED, PROVISIONAL, CANCELLED, INQUIRY, … |
| `--source` | string | MANUAL, DIRECT, AIRBNB, BOOKING\_COM, … |
| `--property` | string | Property id |
| `--unit` | string | Listing id |
| `--search` | string | Guest name, e-mail or code |
| `--hide-cancelled` | switch | Leave cancelled ones out |
| `--cursor` | string | Next page cursor |
| `--take` | int | Page size |

Mode: reads · API: GET /public/v1/reservations. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi bookings get

One booking. Reads only. Never asks.

```bash
hostemi bookings get <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

Mode: reads · API: GET /public/v1/reservations/:id. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi bookings create

Create a manual or direct booking (platform bookings come in by themselves). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

```bash
hostemi bookings create --property <string> --unit <string> --arrival <date> --departure <date>
```

| Option | Type | Description |
| --- | --- | --- |
| `--property` | string | Property id Required. |
| `--unit` | string | Listing id Required. |
| `--arrival` | date | Arrival day Required. |
| `--departure` | date | Departure day (not a night) Required. |
| `--status` | string | CONFIRMED (default) \| PROVISIONAL \| INQUIRY |
| `--source` | string | MANUAL (default) \| DIRECT |
| `--rate-plan` | string | Price plan id |
| `--adults` | int | Adults |
| `--children` | int | Children |
| `--infants` | int | Infants |
| `--rooms` | int | Rooms |
| `--total` | amount | Total, major units |
| `--paid` | amount | Already paid, major units |
| `--hold-until` | string | PROVISIONAL: hold until (ISO 8601) |
| `--guest-id` | string | Existing guest id |
| `--first-name` | string | Guest first name |
| `--last-name` | string | Guest last name |
| `--email` | string | Guest e-mail |
| `--phone` | string | Guest phone |
| `--country` | string | Guest country (HU) |
| `--language` | string | Guest language (hu) |
| `--comment` | string | Guest comment |
| `--notes` | string | Internal notes |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: POST /public/v1/reservations. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

Examples

```bash
hostemi bookings create --property prop_1 --unit unit_1 --arrival 2026-12-01 --departure 2026-12-04 --first-name Anna --last-name Kiss
```

### hostemi bookings modify

Change guests, listing, price plan or notes (dates: \`bookings move\`). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

```bash
hostemi bookings modify <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--unit` | string | Listing id |
| `--rate-plan` | string | Price plan id |
| `--adults` | int | Adults |
| `--children` | int | Children |
| `--infants` | int | Infants |
| `--rooms` | int | Rooms |
| `--comment` | string | Guest comment |
| `--notes` | string | Internal notes |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: PUT /public/v1/reservations/:id. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi bookings move

Move a manual or direct booking to new dates (platform bookings: 409). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

```bash
hostemi bookings move <id> --arrival <date> --departure <date>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--arrival` | date | Arrival day Required. |
| `--departure` | date | Departure day (not a night) Required. |
| `--unit` | string | Listing id |
| `--rooms` | int | Rooms |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: PUT /public/v1/reservations/:id/dates. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi bookings cancel

Ask the host to cancel a booking (the API never cancels). Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

```bash
hostemi bookings cancel <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--reason` | string | Why |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: host approves · API: POST /public/v1/reservations/:id/cancel. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi bookings confirm

Confirm a hold (PROVISIONAL → CONFIRMED). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

```bash
hostemi bookings confirm <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: POST /public/v1/reservations/:id/confirm. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi bookings hold

Turn a booking request into a hold, or extend a hold. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

```bash
hostemi bookings hold <id> --until <string>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--until` | string | ISO 8601 Required. |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: POST /public/v1/reservations/:id/hold. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi bookings check-in

Check the guest in. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

```bash
hostemi bookings check-in <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--at` | string | When (ISO 8601, default now) |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: POST /public/v1/reservations/:id/check-in. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi bookings check-out

Check the guest out. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

```bash
hostemi bookings check-out <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--at` | string | When (ISO 8601, default now) |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: POST /public/v1/reservations/:id/check-out. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi bookings no-show

Mark a no-show and free the nights (reported to the platform where it takes one). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

```bash
hostemi bookings no-show <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--waive-fees` | switch | Booking.com: on = waive the no-show fee, off = keep it (default: the platform setting, \`channels platform-wide\`) |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: POST /public/v1/reservations/:id/no-show. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi bookings pending

A platform change waiting on this booking, as before / after. Reads only. Never asks.

```bash
hostemi bookings pending <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

Mode: reads · API: GET /public/v1/reservations/:id/pending-changes. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi bookings resolve

Ask the host to accept, decline or withdraw a pending platform change. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

```bash
hostemi bookings resolve <id> <decision>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |
| `<decision>` | yes | accept \| decline \| withdraw (a change request that started on your side; the booking stays) |

| Option | Type | Description |
| --- | --- | --- |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: host approves · API: POST /public/v1/reservations/:id/pending-changes/resolve. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi bookings checkin-link

E-mail the guest the self check-in link (shows the address first). Shows what it would do first; does it with --yes. --dry-run stops at the preview.

```bash
hostemi bookings checkin-link <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: shows, then does · API: POST /public/v1/reservations/:id/checkin-link. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi bookings access

How the guest gets in: their own door code and each door's state. Reads only. Never asks.

Preview: listing.smartLocks

Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.

```bash
hostemi bookings access <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

Mode: reads · API: GET /public/v1/reservations/:id/access. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

Examples

```bash
hostemi bookings access <bookingId>
```

### hostemi bookings access update

Make the booking's door code again (no flags), move when it works (--from and --until), or put it in a room (--room-id). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: listing.smartLocks

Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.

```bash
hostemi bookings access update <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--from` | string | New start, ISO time (2026-12-04T13:00:00Z) |
| `--until` | string | New end, ISO time |
| `--room-id` | string | The room of a several-room listing (from bookings access); its lock gets the code |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: POST /public/v1/reservations/:id/access. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

Examples

```bash
hostemi bookings access update <bookingId> --from 2026-12-04T12:00:00Z --until 2026-12-06T09:00:00Z
```

### hostemi bookings balance

The rest of a website deposit booking: how much, due when, paid or not. Reads only. Never asks.

Preview: payments.balance

Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.

```bash
hostemi bookings balance <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

Mode: reads · API: GET /public/v1/reservations/:id/balance. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

Examples

```bash
hostemi bookings balance <bookingId>
```

### hostemi bookings balance ask

E-mail the guest the card payment link for the rest, now (asks you first). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: payments.balance

Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.

```bash
hostemi bookings balance ask <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: POST /public/v1/reservations/:id/balance/request. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

Examples

```bash
hostemi bookings balance ask <bookingId>
```

### hostemi bookings balance charge-card

Charge the rest to the card the guest kept at booking (asks you first, never automatic). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

Preview: payments.balance

Behind a preview feature: a workspace without it gets 404 from the API route, and the command fails with exit 1.

```bash
hostemi bookings balance charge-card <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: POST /public/v1/reservations/:id/balance/charge-saved-card. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

Examples

```bash
hostemi bookings balance charge-card <bookingId>
```

### hostemi bookings

Bookings: the upcoming ones by default (not the cancelled ones). Reads only. Never asks.

```bash
hostemi bookings [--arriving <day>] [--departing <day>] [--status <S>] [--all]
```

| Option | Type | Description |
| --- | --- | --- |
| `--arriving` | string | Arriving on this day |
| `--departing` | string | Leaving on this day |
| `--status` | string | CONFIRMED, CANCELLED, PROVISIONAL, CHECKED\_IN, CHECKED\_OUT, NO\_SHOW, INQUIRY |
| `--unit` | string | Listing id |
| `--all` | switch | Past and cancelled bookings too |
| `--from` | date | Staying on or after this day |
| `--to` | date | Staying on or before this day |
| `--search` | string | Guest name or e-mail |
| `--take` | int | Page size (default 50, at most 200) |
| `--cursor` | string | Next page, as printed |

Mode: reads · API: GET /public/v1/reservations. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

Example

```bash
hostemi bookings
```

Output (recorded in a test workspace, exit 0)

```text
Booking          Dates        Nights  Guest        Listing      Status     Total
HST-2026-000001  Dec 5 → 8         3  Lena Hoffm…  Lake house   Confirmed   €360
HST-2026-000012  Dec 27 → 30       3  Anna Keller  Lake house   Confirmed   €360

One booking: hostemi booking <Booking>   ids: add --json
```

## booking

### hostemi booking

One booking. Reads only. Never asks.

```bash
hostemi booking <id|code>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id, or its code (HST-2026-000123) |

Mode: reads · API: GET /public/v1/reservations/:id. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

Example

```bash
hostemi booking HST-2026-000012
```

Output (recorded in a test workspace, exit 0)

```text
Anna Keller · HST-2026-000012

Dates    Sun, Dec 27 → Wed, Dec 30 (3 nights)
Listing  Lake house
Guests   2
Status   Confirmed
Source   Added by you
Total    €360 (nothing paid yet)
E-mail   anna@example.com
Id       cmwkahsef000b2ikz2r939nf4
```

## reservations

### hostemi reservations finance

Money on one booking: platform commission, net payout, guarantee. Reads only. Never asks.

```bash
hostemi reservations finance <bookingId>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<bookingId>` | yes | Booking id |

Mode: reads · API: GET /public/v1/reservations/:id. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

## requests

### hostemi requests list

Requests to book and booking requests waiting for an answer, nearest deadline first. Reads only. Never asks.

```bash
hostemi requests list
```

| Option | Type | Description |
| --- | --- | --- |
| `--status` | string | open (default) \| all \| PENDING \| ACCEPTED \| DECLINED \| EXPIRED \| PREAPPROVED \| OFFERED |
| `--kind` | string | REQUEST\_TO\_BOOK \| INQUIRY |
| `--property` | string | Property id |
| `--take` | int | Page size |

Mode: reads · API: GET /public/v1/reservation-requests. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi requests get

One request with its deadline and allowed answers. Reads only. Never asks.

```bash
hostemi requests get <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Request id |

Mode: reads · API: GET /public/v1/reservation-requests/:id. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi requests accept

Propose accepting a request to book (the host confirms). Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

```bash
hostemi requests accept <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Request id |

| Option | Type | Description |
| --- | --- | --- |
| `--message` | string | Message to the guest |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: host approves · API: POST /public/v1/reservation-requests/:id/resolve. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi requests decline

Propose declining a request to book (the host confirms). Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

```bash
hostemi requests decline <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Request id |

| Option | Type | Description |
| --- | --- | --- |
| `--reason` | string | DATES\_NOT\_AVAILABLE \| NOT\_A\_GOOD\_FIT \| WAITING\_FOR\_BETTER \| NOT\_COMFORTABLE |
| `--message` | string | Message to the guest |
| `--block-instant-booking` | switch | Block this guest from instant booking |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: host approves · API: POST /public/v1/reservation-requests/:id/resolve. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

## inquiries

### hostemi inquiries list

Open booking requests. Reads only. Never asks.

```bash
hostemi inquiries list
```

| Option | Type | Description |
| --- | --- | --- |
| `--status` | string | open (default) \| all \| one status |
| `--property` | string | Property id |

Mode: reads · API: GET /public/v1/reservation-requests. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi inquiries preapprove

Propose pre-approving a booking request. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

```bash
hostemi inquiries preapprove <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Request id |

| Option | Type | Description |
| --- | --- | --- |
| `--message` | string | Message to the guest |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: host approves · API: POST /public/v1/reservation-requests/:id/resolve. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi inquiries offer

Propose a special offer for a booking request. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

```bash
hostemi inquiries offer <id> --total <amount>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Request id |

| Option | Type | Description |
| --- | --- | --- |
| `--total` | amount | Offer total, major units Required. |
| `--message` | string | Message to the guest |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: host approves · API: POST /public/v1/reservation-requests/:id/resolve. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi inquiries decline

Propose declining a booking request. Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

```bash
hostemi inquiries decline <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Request id |

| Option | Type | Description |
| --- | --- | --- |
| `--message` | string | Message to the guest |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: host approves · API: POST /public/v1/reservation-requests/:id/resolve. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

## payments

### hostemi payments record

Record money the host received (twice = two payments). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

```bash
hostemi payments record <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--amount` | amount | Amount, major units |
| `--amount-minor` | int | Amount, minor units |
| `--method` | string | KESZPENZ (cash, default), BANKKARTYA, ATUTALAS, SZEP\_KARTYA, UTALVANY, UTOLAGOS, EGYEB |
| `--paid-at` | date | YYYY-MM-DD |
| `--note` | string | Note |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: POST /public/v1/reservations/:id/payments. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi payments refund-suggestion

What the guest would get back if the booking were cancelled now (by the cancellation policy). Reads only. Never asks.

```bash
hostemi payments refund-suggestion <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

Mode: reads · API: GET /public/v1/reservations/:id/refund-suggestion. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

Examples

```bash
hostemi payments refund-suggestion res_1
```

### hostemi payments refund

Ask the host to refund (the API never moves money). Never changes anything by itself: the host approves it in the app (exit 4 and the approval link).

```bash
hostemi payments refund <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--amount` | amount | Amount, major units (default: all refundable) |
| `--note` | string | Note |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: host approves · API: POST /public/v1/reservations/:id/refund. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi payments list

Card payments on a booking. Reads only. Never asks.

```bash
hostemi payments list <bookingId>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<bookingId>` | yes | Booking id |

Mode: reads · API: GET /public/v1/reservations/:id/payments. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

## charges

### hostemi charges list

Extra charges on a booking. Reads only. Never asks.

```bash
hostemi charges list <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

Mode: reads · API: GET /public/v1/reservations/:id/charges. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi charges add

Add an extra charge to a booking (NTAK category + VAT rate). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

```bash
hostemi charges add <id> --date <date> --amount <amount>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--date` | date | Day of the charge Required. |
| `--category` | string | NTAK main category (e.g. ETEL, ALKOHOLOSITAL) |
| `--subcategory` | string | NTAK sub category |
| `--vat` | int | VAT rate: 0, 5, 18 or 27 |
| `--amount` | amount | Gross amount, major units Required. |
| `--currency` | string | Currency (default: the booking or property currency) |
| `--label` | string | Label |
| `--part-of-package` | switch | Included in the package price (on\|off) |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: POST /public/v1/reservations/:id/charges. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

Examples

```bash
hostemi charges add res_1 --date 2026-11-02 --category ETEL --vat 27 --amount 4500 --label "Breakfast"
```

### hostemi charges add-many

Add many charges in one write: --input charges.json ({"charges":\[…\]}). Changes data at once: asks first, or --yes. --dry-run prints the request instead.

```bash
hostemi charges add-many <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |

| Option | Type | Description |
| --- | --- | --- |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: POST /public/v1/reservations/:id/charges/bulk. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi charges remove

Remove an extra charge from a booking. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

```bash
hostemi charges remove <id> <chargeId>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Booking id |
| `<chargeId>` | yes | Charge id |

| Option | Type | Description |
| --- | --- | --- |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: DELETE /public/v1/reservations/:id/charges/:chargeId. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi charges property

Charges that belong to no booking. Reads only. Never asks.

```bash
hostemi charges property <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Property id |

| Option | Type | Description |
| --- | --- | --- |
| `--from` | date | From day |
| `--to` | date | To day (inclusive) |

Mode: reads · API: GET /public/v1/properties/:id/charges. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi charges property add

Record a charge that belongs to no booking. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

```bash
hostemi charges property add <id> --charge-kind <string> --date <date> --amount <amount>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Property id |

| Option | Type | Description |
| --- | --- | --- |
| `--charge-kind` | string | The property charge kind Required. |
| `--date` | date | Day of the charge Required. |
| `--category` | string | NTAK main category (e.g. ETEL, ALKOHOLOSITAL) |
| `--subcategory` | string | NTAK sub category |
| `--vat` | int | VAT rate: 0, 5, 18 or 27 |
| `--amount` | amount | Gross amount, major units Required. |
| `--currency` | string | Currency (default: the booking or property currency) |
| `--label` | string | Label |
| `--payment-method` | string | NTAK payment method (costs) |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: POST /public/v1/properties/:id/charges. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi charges property remove

Remove a property charge. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

```bash
hostemi charges property remove <id> <chargeId>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Property id |
| `<chargeId>` | yes | Charge id |

| Option | Type | Description |
| --- | --- | --- |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: DELETE /public/v1/properties/:id/charges/:chargeId. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

## guests

### hostemi guests list

Search guests. Reads only. Never asks.

```bash
hostemi guests list
```

| Option | Type | Description |
| --- | --- | --- |
| `--search` | string | Name or e-mail |
| `--cursor` | string | Next page cursor |
| `--take` | int | Page size |

Mode: reads · API: GET /public/v1/guests. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi guests get

One guest with bookings. Reads only. Never asks.

```bash
hostemi guests get <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Guest id |

Mode: reads · API: GET /public/v1/guests/:id. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

### hostemi guests update

Change guest details. Changes data at once: asks first, or --yes. --dry-run prints the request instead.

```bash
hostemi guests update <id>
```

| Argument | Required | Description |
| --- | --- | --- |
| `<id>` | yes | Guest id |

| Option | Type | Description |
| --- | --- | --- |
| `--first-name` | string | First name |
| `--last-name` | string | Last name |
| `--email` | string | E-mail |
| `--phone` | string | Phone |
| `--country` | string | Country (HU) |
| `--language` | string | Language (hu) |
| `--address` | string | Address |
| `--city` | string | City |
| `--postal-code` | string | Postal code |
| `--notes` | string | Team-only notes |
| `--marketing-consent` | switch | on \| off |
| `--input` | file | JSON body from a file, or - for stdin; flags win over it |
| `--data` | json | JSON body inline |

Mode: changes · API: PUT /public/v1/guests/:id. Every command also takes the [global options](https://hostemi.com/docs/cli/usage).

Documentation pages

Something missing from this page? Write to [hello@hostemi.com](mailto:hello@hostemi.com), or use the form on the [Help](https://hostemi.com/help) page.
