add_fee
Add an extra or fee to a boat the operator prices directly. Returns the stored row and warnings, other rows it overlaps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Boat id, from list_boats. | |
| amount | Yes | EUR, or a percent when amount_is_percentage. | |
| period | Yes | How it is counted, per booking, day, night, person or week; the answer to a wrong value lists the allowed ones. | |
| category | No | ||
| required | No | true when every guest pays it. | |
| valid_to | No | YYYY-MM-DD | |
| on_request | No | ||
| valid_from | No | YYYY-MM-DD | |
| description | Yes | The fee as guests read it. | |
| percentage_base | No | What the percentage is taken on; empty is the charter price. | |
| calculation_type | No | How it is collected: `separate_payment` paid at the base (default), `advance_payment` charged at booking, `included_in_price`. | |
| amount_is_percentage | No |