---
updatedAt: 2026-11-05T14:53:46.000Z
agentTools:
  projectIndex: https://open-api-docs.guesty.com/llms.txt
---

# Create an invoice item

For creating new invoice item use the <a href="https://open-api-docs.guesty.com/reference/invoiceitemscontroller_createinvoiceitem">new API</a>

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "GUESTY OPEN API",
    "description": "Guesty Open API documentation",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://open-api.guesty.com/v1"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "[Deprecated] Reservations"
    }
  ],
  "paths": {
    "/reservations/{id}/invoiceItems": {
      "post": {
        "deprecated": true,
        "tags": [
          "[Deprecated] Reservations"
        ],
        "operationId": "reservationsV2InvoiceItemsCreate",
        "summary": "[DEPRECATED] Create an invoice item",
        "description": "For creating new invoice item use the <a href=\"https://open-api-docs.guesty.com/reference/invoiceitemscontroller_createinvoiceitem\">new API</a>",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "description": "Reservation ID",
            "required": true,
            "example": "5e7abcde0000000A08011001",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Invoice parameters",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string",
                    "description": "Title of the invoice item",
                    "example": "Accommodation fare"
                  },
                  "amount": {
                    "type": "number",
                    "format": "float",
                    "description": "Price to be charged for the invoice item",
                    "example": 98.52
                  },
                  "normalType": {
                    "type": "string",
                    "description": "Invoice item's type identifier",
                    "example": "AFE"
                  },
                  "description": {
                    "type": "string",
                    "description": "Description of the invoice item",
                    "example": "Management fee description"
                  },
                  "secondIdentifier": {
                    "type": "string",
                    "description": "An additional optional identifier",
                    "example": "MANAGEMENT"
                  }
                },
                "required": [
                  "amount",
                  "title",
                  "normalType",
                  "secondIdentifier"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Invoice created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "integration": {
                      "type": "object",
                      "properties": {
                        "limitations": {
                          "type": "object",
                          "properties": {
                            "availableStatuses": {
                              "type": "array",
                              "items": {}
                            }
                          }
                        },
                        "bookingCom": {
                          "type": "object",
                          "properties": {
                            "invalidCreditCards": {
                              "type": "array",
                              "items": {}
                            },
                            "reports": {
                              "type": "array",
                              "items": {}
                            }
                          }
                        },
                        "_id": {
                          "type": "string",
                          "description": "Unique Guesty listing/unit type ID.",
                          "example": "563e0b6a08a2710e00057b82"
                        },
                        "platform": {
                          "type": "string"
                        }
                      }
                    },
                    "guestyFeeDetails": {
                      "type": "object",
                      "properties": {
                        "commission": {
                          "type": "number"
                        },
                        "feeMinimum": {
                          "type": "number"
                        },
                        "fee": {
                          "type": "number"
                        },
                        "feeUsd": {
                          "type": "number"
                        },
                        "isMinimumFee": {
                          "type": "boolean"
                        },
                        "isMaximumFee": {
                          "type": "boolean"
                        },
                        "planItems": {
                          "type": "array",
                          "items": {}
                        }
                      }
                    },
                    "review": {
                      "type": "object",
                      "properties": {
                        "shouldReview": {
                          "type": "boolean"
                        }
                      }
                    },
                    "atTimeOfConfirmation": {
                      "type": "object",
                      "properties": {
                        "snapshotCreated": {
                          "type": "boolean"
                        },
                        "channelCommission": {
                          "type": "object",
                          "properties": {
                            "useAccountSettings": {
                              "type": "boolean"
                            },
                            "_id": {
                              "type": "string",
                              "description": "Unique Guesty listing/unit type ID.",
                              "example": "563e0b6a08a2710e00057b82"
                            },
                            "manual": {
                              "type": "array",
                              "items": {}
                            }
                          }
                        },
                        "taxes": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "appliedOnFees": {
                                "type": "string"
                              },
                              "appliedByDefaultOnChannels": {
                                "type": "array",
                                "items": {}
                              },
                              "_id": {
                                "type": "string",
                                "description": "Unique Guesty listing/unit type ID.",
                                "example": "563e0b6a08a2710e00057b82"
                              },
                              "name": {
                                "type": "string"
                              },
                              "units": {
                                "type": "string"
                              },
                              "quantifier": {
                                "type": "string"
                              },
                              "amount": {
                                "type": "number"
                              },
                              "appliedToAllFees": {
                                "type": "boolean"
                              },
                              "type": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "monthlyPriceFactor": {
                          "type": "number"
                        },
                        "weeklyPriceFactor": {
                          "type": "number"
                        },
                        "useAccountRevenueShare": {
                          "type": "boolean"
                        }
                      }
                    },
                    "flag": {
                      "type": "boolean"
                    },
                    "accountingEnabled": {
                      "type": "boolean"
                    },
                    "isBMApplied": {
                      "type": "boolean"
                    },
                    "confirmedPreBookings": {
                      "type": "array",
                      "items": {}
                    },
                    "pulledByDailySync": {
                      "type": "boolean"
                    },
                    "manuallyCreated": {
                      "type": "boolean"
                    },
                    "_id": {
                      "type": "string",
                      "description": "Unique Guesty listing/unit type ID.",
                      "example": "563e0b6a08a2710e00057b82"
                    },
                    "status": {
                      "type": "string"
                    },
                    "checkIn": {
                      "type": "string",
                      "example": "2021-08-17T07:00:00.000Z"
                    },
                    "checkOut": {
                      "type": "string",
                      "example": "2021-08-17T07:00:00.000Z"
                    },
                    "nightsCount": {
                      "type": "number"
                    },
                    "guestsCount": {
                      "type": "number"
                    },
                    "money": {
                      "allOf": [
                        {
                          "type": "object",
                          "properties": {
                            "altered": {
                              "type": "boolean"
                            },
                            "invoiceItems": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "_id": {
                                    "type": "string",
                                    "description": "Unique Guesty listing/unit type ID.",
                                    "example": "563e0b6a08a2710e00057b82"
                                  },
                                  "title": {
                                    "type": "string"
                                  },
                                  "amount": {
                                    "type": "number"
                                  },
                                  "currency": {
                                    "type": "string"
                                  },
                                  "type": {
                                    "type": "string"
                                  },
                                  "isLocked": {
                                    "type": "boolean"
                                  },
                                  "isTax": {
                                    "type": "boolean"
                                  },
                                  "normalType": {
                                    "type": "string"
                                  },
                                  "isAutoAdditionalFee": {
                                    "type": "boolean"
                                  },
                                  "secondIdentifier": {
                                    "type": "string"
                                  }
                                }
                              }
                            },
                            "payments": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "authenticationRequiredData": {
                                    "type": "object",
                                    "properties": {
                                      "lastAuthMsgSentDate": {
                                        "type": "string",
                                        "example": "2021-08-16T08:38:20.280Z"
                                      },
                                      "authenticationUrl": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  "paymentMethodStatus": {
                                    "type": "string"
                                  },
                                  "isAuthorizationHold": {
                                    "type": "boolean"
                                  },
                                  "status": {
                                    "type": "string"
                                  },
                                  "refunds": {
                                    "type": "array",
                                    "items": {}
                                  },
                                  "authorizationHoldCaptures": {
                                    "type": "array",
                                    "items": {}
                                  },
                                  "createdAt": {
                                    "type": "string",
                                    "example": "2021-08-16T08:38:20.280Z"
                                  },
                                  "attempts": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "createdAt": {
                                          "type": "string",
                                          "example": "2021-08-16T08:38:20.280Z"
                                        },
                                        "_id": {
                                          "type": "string",
                                          "description": "Unique Guesty listing/unit type ID.",
                                          "example": "563e0b6a08a2710e00057b82"
                                        },
                                        "status": {
                                          "type": "string"
                                        },
                                        "error": {
                                          "type": "string"
                                        },
                                        "payload": {
                                          "type": "object",
                                          "properties": {
                                            "charge": {
                                              "type": "string"
                                            },
                                            "code": {
                                              "type": "string"
                                            },
                                            "decline_code": {
                                              "type": "string"
                                            },
                                            "doc_url": {
                                              "type": "string"
                                            },
                                            "message": {
                                              "type": "string"
                                            },
                                            "payment_intent": {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string",
                                                  "description": "Unique Guesty listing/unit type ID.",
                                                  "example": "563e0b6a08a2710e00057b82"
                                                },
                                                "object": {
                                                  "type": "string"
                                                },
                                                "amount": {
                                                  "type": "number"
                                                },
                                                "amount_capturable": {
                                                  "type": "number"
                                                },
                                                "amount_received": {
                                                  "type": "number"
                                                },
                                                "application": {
                                                  "type": "string"
                                                },
                                                "capture_method": {
                                                  "type": "string"
                                                },
                                                "charges": {
                                                  "type": "object",
                                                  "properties": {
                                                    "object": {
                                                      "type": "string"
                                                    },
                                                    "data": {
                                                      "type": "array",
                                                      "items": {
                                                        "type": "object",
                                                        "properties": {
                                                          "id": {
                                                            "type": "string"
                                                          },
                                                          "object": {
                                                            "type": "string"
                                                          },
                                                          "amount": {
                                                            "type": "number"
                                                          },
                                                          "amount_captured": {
                                                            "type": "number"
                                                          },
                                                          "amount_refunded": {
                                                            "type": "number"
                                                          },
                                                          "application": {
                                                            "type": "string"
                                                          },
                                                          "billing_details": {
                                                            "type": "object",
                                                            "properties": {
                                                              "address": {
                                                                "type": "object",
                                                                "properties": {
                                                                  "city": {
                                                                    "type": "string"
                                                                  },
                                                                  "country": {
                                                                    "type": "string"
                                                                  },
                                                                  "line1": {
                                                                    "type": "string"
                                                                  },
                                                                  "line2": {
                                                                    "type": "string"
                                                                  },
                                                                  "postal_code": {
                                                                    "type": "string"
                                                                  },
                                                                  "state": {
                                                                    "type": "string"
                                                                  }
                                                                }
                                                              },
                                                              "email": {
                                                                "type": "string"
                                                              },
                                                              "name": {
                                                                "type": "string"
                                                              },
                                                              "phone": {
                                                                "type": "string"
                                                              }
                                                            }
                                                          },
                                                          "calculated_statement_descriptor": {
                                                            "type": "string"
                                                          },
                                                          "captured": {
                                                            "type": "boolean"
                                                          },
                                                          "created": {
                                                            "type": "number"
                                                          },
                                                          "currency": {
                                                            "type": "string"
                                                          },
                                                          "customer": {
                                                            "type": "string"
                                                          },
                                                          "description": {
                                                            "type": "string"
                                                          },
                                                          "disputed": {
                                                            "type": "boolean"
                                                          },
                                                          "failure_code": {
                                                            "type": "string"
                                                          },
                                                          "failure_message": {
                                                            "type": "string"
                                                          },
                                                          "livemode": {
                                                            "type": "boolean"
                                                          },
                                                          "metadata": {
                                                            "type": "object",
                                                            "properties": {
                                                              "accountId": {
                                                                "type": "string",
                                                                "description": "Unique Guesty listing/unit type ID.",
                                                                "example": "563e0b6a08a2710e00057b82"
                                                              },
                                                              "confirmationCode": {
                                                                "type": "string"
                                                              },
                                                              "reservationId": {
                                                                "type": "string",
                                                                "description": "Unique Guesty listing/unit type ID.",
                                                                "example": "563e0b6a08a2710e00057b82"
                                                              },
                                                              "OTA": {
                                                                "type": "string"
                                                              },
                                                              "listingId": {
                                                                "type": "string",
                                                                "description": "Unique Guesty listing/unit type ID.",
                                                                "example": "563e0b6a08a2710e00057b82"
                                                              }
                                                            }
                                                          },
                                                          "outcome": {
                                                            "type": "object",
                                                            "properties": {
                                                              "network_status": {
                                                                "type": "string"
                                                              },
                                                              "reason": {
                                                                "type": "string"
                                                              },
                                                              "risk_level": {
                                                                "type": "string"
                                                              },
                                                              "risk_score": {
                                                                "type": "number"
                                                              },
                                                              "seller_message": {
                                                                "type": "string"
                                                              },
                                                              "type": {
                                                                "type": "string"
                                                              }
                                                            }
                                                          },
                                                          "paid": {
                                                            "type": "boolean"
                                                          },
                                                          "payment_intent": {
                                                            "type": "string"
                                                          },
                                                          "payment_method": {
                                                            "type": "string"
                                                          },
                                                          "payment_method_details": {
                                                            "type": "object",
                                                            "properties": {
                                                              "card": {
                                                                "type": "object",
                                                                "properties": {
                                                                  "brand": {
                                                                    "type": "string"
                                                                  },
                                                                  "checks": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                      "cvc_check": {
                                                                        "type": "string"
                                                                      }
                                                                    }
                                                                  },
                                                                  "country": {
                                                                    "type": "string"
                                                                  },
                                                                  "exp_month": {
                                                                    "type": "number"
                                                                  },
                                                                  "exp_year": {
                                                                    "type": "number"
                                                                  },
                                                                  "fingerprint": {
                                                                    "type": "string"
                                                                  },
                                                                  "funding": {
                                                                    "type": "string"
                                                                  },
                                                                  "last4": {
                                                                    "type": "string"
                                                                  },
                                                                  "network": {
                                                                    "type": "string"
                                                                  }
                                                                }
                                                              },
                                                              "type": {
                                                                "type": "string"
                                                              }
                                                            }
                                                          },
                                                          "refunded": {
                                                            "type": "boolean"
                                                          },
                                                          "refunds": {
                                                            "type": "object",
                                                            "properties": {
                                                              "object": {
                                                                "type": "string"
                                                              },
                                                              "data": {
                                                                "type": "array",
                                                                "items": {}
                                                              },
                                                              "has_more": {
                                                                "type": "boolean"
                                                              },
                                                              "total_count": {
                                                                "type": "number"
                                                              },
                                                              "url": {
                                                                "type": "string"
                                                              }
                                                            }
                                                          },
                                                          "statement_descriptor": {
                                                            "type": "string"
                                                          },
                                                          "status": {
                                                            "type": "string"
                                                          }
                                                        }
                                                      }
                                                    },
                                                    "has_more": {
                                                      "type": "boolean"
                                                    },
                                                    "total_count": {
                                                      "type": "number"
                                                    },
                                                    "url": {
                                                      "type": "string"
                                                    }
                                                  }
                                                },
                                                "client_secret": {
                                                  "type": "string"
                                                },
                                                "confirmation_method": {
                                                  "type": "string"
                                                },
                                                "created": {
                                                  "type": "number"
                                                },
                                                "currency": {
                                                  "type": "string"
                                                },
                                                "customer": {
                                                  "type": "string"
                                                },
                                                "description": {
                                                  "type": "string"
                                                },
                                                "livemode": {
                                                  "type": "boolean"
                                                },
                                                "metadata": {
                                                  "type": "object",
                                                  "properties": {
                                                    "accountId": {
                                                      "type": "string",
                                                      "description": "Unique Guesty listing/unit type ID.",
                                                      "example": "563e0b6a08a2710e00057b82"
                                                    },
                                                    "confirmationCode": {
                                                      "type": "string"
                                                    },
                                                    "reservationId": {
                                                      "type": "string",
                                                      "description": "Unique Guesty listing/unit type ID.",
                                                      "example": "563e0b6a08a2710e00057b82"
                                                    },
                                                    "OTA": {
                                                      "type": "string"
                                                    },
                                                    "listingId": {
                                                      "type": "string",
                                                      "description": "Unique Guesty listing/unit type ID.",
                                                      "example": "563e0b6a08a2710e00057b82"
                                                    }
                                                  }
                                                },
                                                "next_action": {
                                                  "type": "object",
                                                  "properties": {
                                                    "type": {
                                                      "type": "string"
                                                    },
                                                    "use_stripe_sdk": {
                                                      "type": "object",
                                                      "properties": {
                                                        "type": {
                                                          "type": "string"
                                                        },
                                                        "merchant": {
                                                          "type": "string"
                                                        },
                                                        "three_d_secure_2_source": {
                                                          "type": "string"
                                                        },
                                                        "directory_server_name": {
                                                          "type": "string"
                                                        },
                                                        "server_transaction_id": {
                                                          "type": "string"
                                                        },
                                                        "three_ds_method_url": {
                                                          "type": "string"
                                                        },
                                                        "three_ds_optimizations": {
                                                          "type": "string"
                                                        },
                                                        "directory_server_encryption": {
                                                          "type": "object",
                                                          "properties": {
                                                            "directory_server_id": {
                                                              "type": "string"
                                                            },
                                                            "algorithm": {
                                                              "type": "string"
                                                            },
                                                            "certificate": {
                                                              "type": "string"
                                                            },
                                                            "root_certificate_authorities": {
                                                              "type": "array",
                                                              "items": {}
                                                            }
                                                          }
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "payment_method": {
                                                  "type": "string"
                                                },
                                                "payment_method_options": {
                                                  "type": "object",
                                                  "properties": {
                                                    "card": {
                                                      "type": "object",
                                                      "properties": {
                                                        "request_three_d_secure": {
                                                          "type": "string"
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "payment_method_types": {
                                                  "type": "array",
                                                  "items": {}
                                                },
                                                "statement_descriptor": {
                                                  "type": "string"
                                                },
                                                "status": {
                                                  "type": "string"
                                                }
                                              }
                                            },
                                            "payment_method": {
                                              "type": "object",
                                              "properties": {
                                                "id": {
                                                  "type": "string"
                                                },
                                                "object": {
                                                  "type": "string"
                                                },
                                                "billing_details": {
                                                  "type": "object",
                                                  "properties": {
                                                    "address": {
                                                      "type": "object",
                                                      "properties": {
                                                        "city": {
                                                          "type": "string"
                                                        },
                                                        "country": {
                                                          "type": "string"
                                                        },
                                                        "line1": {
                                                          "type": "string"
                                                        },
                                                        "line2": {
                                                          "type": "string"
                                                        },
                                                        "postal_code": {
                                                          "type": "string"
                                                        },
                                                        "state": {
                                                          "type": "string"
                                                        }
                                                      }
                                                    },
                                                    "email": {
                                                      "type": "string"
                                                    },
                                                    "name": {
                                                      "type": "string"
                                                    },
                                                    "phone": {
                                                      "type": "string"
                                                    }
                                                  }
                                                },
                                                "card": {
                                                  "type": "object",
                                                  "properties": {
                                                    "brand": {
                                                      "type": "string"
                                                    },
                                                    "checks": {
                                                      "type": "object",
                                                      "properties": {
                                                        "cvc_check": {
                                                          "type": "string"
                                                        }
                                                      }
                                                    },
                                                    "country": {
                                                      "type": "string"
                                                    },
                                                    "exp_month": {
                                                      "type": "number"
                                                    },
                                                    "exp_year": {
                                                      "type": "number"
                                                    },
                                                    "fingerprint": {
                                                      "type": "string"
                                                    },
                                                    "funding": {
                                                      "type": "string"
                                                    },
                                                    "last4": {
                                                      "type": "string"
                                                    },
                                                    "networks": {
                                                      "type": "object",
                                                      "properties": {
                                                        "available": {
                                                          "type": "array",
                                                          "items": {}
                                                        }
                                                      }
                                                    },
                                                    "three_d_secure_usage": {
                                                      "type": "object",
                                                      "properties": {
                                                        "supported": {
                                                          "type": "boolean"
                                                        }
                                                      }
                                                    }
                                                  }
                                                },
                                                "created": {
                                                  "type": "number"
                                                },
                                                "customer": {
                                                  "type": "string"
                                                },
                                                "livemode": {
                                                  "type": "boolean"
                                                },
                                                "type": {
                                                  "type": "string"
                                                }
                                              }
                                            },
                                            "type": {
                                              "type": "string"
                                            },
                                            "statusCode": {
                                              "type": "number"
                                            },
                                            "requestId": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  },
                                  "receiptTargets": {
                                    "type": "array",
                                    "items": {}
                                  },
                                  "_id": {
                                    "type": "string",
                                    "description": "Unique Guesty listing/unit type ID.",
                                    "example": "563e0b6a08a2710e00057b82"
                                  },
                                  "amount": {
                                    "type": "number"
                                  },
                                  "shouldBePaidAt": {
                                    "type": "string",
                                    "example": "2021-08-16T08:38:20.280Z"
                                  },
                                  "paymentMethodId": {
                                    "type": "string",
                                    "description": "Unique Guesty listing/unit type ID.",
                                    "example": "563e0b6a08a2710e00057b82"
                                  },
                                  "guestId": {
                                    "type": "string",
                                    "description": "Unique Guesty listing/unit type ID.",
                                    "example": "563e0b6a08a2710e00057b82"
                                  },
                                  "currency": {
                                    "type": "string"
                                  }
                                }
                              }
                            },
                            "autoPaymentsPolicy": {
                              "type": "array",
                              "items": {}
                            },
                            "currency": {
                              "type": "string"
                            },
                            "paymentProviderIds": {
                              "type": "array",
                              "items": {}
                            },
                            "fareAccommodationAdjustment": {
                              "type": "number"
                            },
                            "fareAccommodationDiscount": {
                              "type": "number"
                            },
                            "fareAccommodation": {
                              "type": "number"
                            },
                            "fareAccommodationAdjusted": {
                              "type": "number"
                            },
                            "fareCleaning": {
                              "type": "number"
                            },
                            "hostServiceFee": {
                              "type": "number"
                            },
                            "hostServiceFeeTax": {
                              "type": "number"
                            },
                            "hostServiceFeeIncTax": {
                              "type": "number"
                            },
                            "subTotalPrice": {
                              "type": "number"
                            },
                            "hostPayout": {
                              "type": "number"
                            },
                            "hostPayoutUsd": {
                              "type": "number"
                            },
                            "totalTaxes": {
                              "type": "number"
                            },
                            "totalRefunded": {
                              "type": "number"
                            },
                            "totalPaid": {
                              "type": "number"
                            },
                            "paymentsDue": {
                              "type": "number"
                            },
                            "balanceDue": {
                              "type": "number"
                            },
                            "isFullyPaid": {
                              "type": "boolean"
                            },
                            "useAccountRevenueShare": {
                              "type": "boolean"
                            },
                            "netIncomeFormula": {
                              "type": "string"
                            },
                            "netIncome": {
                              "type": "number"
                            },
                            "commissionFormula": {
                              "type": "string"
                            },
                            "commission": {
                              "type": "number"
                            },
                            "commissionTaxPercentage": {
                              "type": "number"
                            },
                            "commissionTax": {
                              "type": "number"
                            },
                            "commissionIncTax": {
                              "type": "number"
                            },
                            "ownerRevenueFormula": {
                              "type": "string"
                            },
                            "ownerRevenue": {
                              "type": "number"
                            },
                            "currencyConversionRateToAccount": {
                              "type": "number"
                            },
                            "isTouchedPayments": {
                              "type": "boolean"
                            }
                          }
                        }
                      ],
                      "description": "Financial breakdown of the reservation, such as accommodation fare, cleaning fare, and invoice items. **[DEPRECATED]** This field holds both pricing and payment data. The pricing data is available from the guest folio endpoints: [folio overview](https://open-api-docs.guesty.com/reference/guestfoliocontroller_getfoliooverview) and [folio invoice items](https://open-api-docs.guesty.com/reference/getguestfolioinvoiceitems) (see also [folio settings snapshot](https://open-api-docs.guesty.com/reference/getguestfoliosettingssnapshots)). The payment data is available from the [List reservation payments endpoint](https://open-api-docs.guesty.com/reference/paymentsreservationlist) (GET /payments)."
                    },
                    "listingId": {
                      "type": "string",
                      "description": "Unique Guesty listing/unit type ID.",
                      "example": "563e0b6a08a2710e00057b82"
                    },
                    "checkInDateLocalized": {
                      "type": "string"
                    },
                    "checkOutDateLocalized": {
                      "type": "string"
                    },
                    "accountId": {
                      "type": "string",
                      "description": "Unique Guesty listing/unit type ID.",
                      "example": "563e0b6a08a2710e00057b82"
                    },
                    "guestId": {
                      "type": "string",
                      "description": "Unique Guesty listing/unit type ID.",
                      "example": "563e0b6a08a2710e00057b82"
                    },
                    "source": {
                      "type": "string"
                    },
                    "secondarySource": {
                      "type": "string",
                      "description": "Reservation website name. Should be present in case 'source' is one of ['BE-API', 'Booking Engine', 'website']. If absent, it means we failed to extract the secondary source information."
                    },
                    "confirmationCode": {
                      "type": "string"
                    },
                    "mtl": {
                      "type": "object",
                      "properties": {
                        "assigned": {
                          "type": "boolean"
                        },
                        "_id": {
                          "type": "string",
                          "description": "Unique Guesty listing/unit type ID.",
                          "example": "563e0b6a08a2710e00057b82"
                        }
                      }
                    },
                    "isReturningGuest": {
                      "type": "boolean"
                    },
                    "confirmedAt": {
                      "type": "string",
                      "example": "2021-08-17T07:00:00.000Z"
                    },
                    "importedAt": {
                      "type": "string",
                      "example": "2021-08-17T07:00:00.000Z"
                    },
                    "additionalFeesAtCreation": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "automationSources": {
                            "type": "array",
                            "items": {}
                          },
                          "_id": {
                            "type": "string",
                            "description": "Unique Guesty listing/unit type ID.",
                            "example": "563e0b6a08a2710e00057b82"
                          },
                          "isPercentage": {
                            "type": "boolean"
                          },
                          "isAutomated": {
                            "type": "boolean"
                          },
                          "name": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          },
                          "value": {
                            "type": "number"
                          },
                          "accountId": {
                            "type": "string",
                            "description": "Unique Guesty listing/unit type ID.",
                            "example": "563e0b6a08a2710e00057b82"
                          },
                          "multiplier": {
                            "type": "string"
                          },
                          "targetFee": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "createdAt": {
                      "type": "string",
                      "example": "2021-08-17T07:00:00.000Z"
                    },
                    "customFields": {
                      "type": "array",
                      "items": {}
                    },
                    "lastUpdatedAt": {
                      "type": "string",
                      "example": "2021-08-17T07:00:00.000Z"
                    },
                    "__v": {
                      "type": "number"
                    },
                    "conversationId": {
                      "type": "string",
                      "description": "Unique Guesty listing/unit type ID.",
                      "example": "563e0b6a08a2710e00057b82"
                    },
                    "id": {
                      "type": "string",
                      "description": "Unique Guesty listing/unit type ID.",
                      "example": "563e0b6a08a2710e00057b82"
                    },
                    "isMidStay": {
                      "type": "boolean"
                    },
                    "lastStayListingId": {
                      "type": "string",
                      "description": "Unique Guesty listing/unit type ID.",
                      "example": "563e0b6a08a2710e00057b82"
                    },
                    "stay": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Unique Guesty listing/unit type ID.",
                          "example": "563e0b6a08a2710e00057b82"
                        },
                        "checkInDateLocalized": {
                          "type": "string"
                        },
                        "checkOutDateLocalized": {
                          "type": "string"
                        },
                        "eta": {
                          "type": "string"
                        },
                        "etd": {
                          "type": "string"
                        },
                        "guestsCount": {
                          "type": "number"
                        },
                        "unitTypeId": {
                          "type": "string",
                          "description": "Unique Guesty listing/unit type ID.",
                          "example": "563e0b6a08a2710e00057b82"
                        },
                        "unitId": {
                          "type": "string",
                          "description": "Unique Guesty listing/unit type ID.",
                          "example": "563e0b6a08a2710e00057b82"
                        },
                        "ratePlanId": {
                          "type": "string"
                        },
                        "numberOfGuests": {
                          "type": "object",
                          "properties": {
                            "numberOfAdults": {
                              "type": "number"
                            },
                            "numberOfChildren": {
                              "type": "number"
                            },
                            "numberOfInfants": {
                              "type": "number"
                            },
                            "numberOfPets": {
                              "type": "number"
                            }
                          }
                        },
                        "earlyCheckIn": {
                          "type": "object",
                          "properties": {
                            "blockDay": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid Input",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "Title is required"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "example": {
                    "error": {
                      "code": "UNAUTHORIZED",
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "Forbidden"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "Reservation Not Found"
                }
              }
            }
          },
          "500": {
            "description": "Unhandled exception. Something went wrong on server.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "example": "Internal Server Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "apiKey",
        "name": "authorization",
        "in": "header"
      }
    }
  },
  "x-kong-upstream-prefix": "/integrations/brands",
  "x-kong-route-transformations": [
    {
      "configuration": "v1",
      "routeExtpath": "/account-brands",
      "stripPrefix": "/v1/account-brands"
    }
  ]
}
```