# Close the day

`POST /lodging/desk/night-audit` · Rivier · bookings

Close the day: post the room nights, list possible no-shows, overdue departures, balances and arrivals with no room, make tomorrow's housekeeping tasks and keep the report. One audit per day; nothing is decided for a person.

- Scope: bookings:admin
- Sdk: bookings.desk.nightAudit
- Cli: bookings desk night audit

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "propertyId": {
      "type": "string",
      "format": "uuid"
    },
    "date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    }
  },
  "required": [
    "propertyId"
  ],
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/lodging/desk/night-audit' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "propertyId": "string"
}'
```
