Create invoice item
Changed onAdds an invoice item to the reservation's folio and returns the updated folio.
Use this when you need to add a one-off charge (for example an additional fee, cleaning fee, or tax) to an existing reservation. The folio is recalculated after the item is added.
Common 400 causes: invalid or missing body fields; secondIdentifier required for normalType AFE and forbidden otherwise; isUpsellFee only allowed when normalType is AFE; on multi-stay reservations stayIndex is required and must be in range (cleaning fee CF only on stay 0); a once-only normal type already exists on the reservation (or stay); invalid realization dates.
Request
- Base URLhttps://open-api.guesty.com/v1
- URLhttps://open-api.guesty.com/v1/invoice-items/reservation/{reservationId}
- AuthAPI key in header authorization
Path parameters
Reservation ID (for example 64a1f2c3e4b0a1b2c3d4e5f6).
Request body
Example request
{
"title": "Extra cleaning",
"amount": 100,
"description": "Late checkout fee for the guest",
"secondIdentifier": "CLEANING",
"normalType": "AFE",
"realizationDates": [
{
"date": "2026-01-15",
"from": "2026-01-15",
"to": "2026-01-20"
}
]
}Response
The updated folio with the new invoice item
Changes
- breaking
the
request property's minItems was increased to1 - breaking
the
//request property format changed from no format todate - breaking
the
//request property format changed from no format todate - breaking
the
//request property format changed from no format todate - breaking
the
request property type changed fromnumbertointeger - breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the success response with the status
- warning
the
request property's min was set to0.00 - info
added the new
TOTAL_PAYOUT_BASEDenum value to the request property - info
added the non-success response with the status
- breaking