Get Credit-Line Statement
get_credit_line_statementReturns the signed-in partner's own credit-line statement: balance (the real-time balance due and pending, ALWAYS for the whole credit line, not filtered by the dates), account details (name, currency, creditLimit, periodType), and the booking rows whose due date falls between from and to (default: the current month; at most 93 days). Each row carries bookingReferenceId, hotelName, guestName, dates, amount, currency, bucket (current = due, pending = not due yet), dueDate, paid, outstanding, paymentStatus, settledBy, and lineType (booking, or cancellation_fee for a late-cancellation charge). Read-only. Needs a signed-in partner credit-line account session; guest sessions have no credit line. Takes no account identifier: the credit line is always the caller's own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last due date to include, YYYY-MM-DD (at most 93 days after `from`). | |
| from | No | First due date to include, YYYY-MM-DD. Pass with `to`; omit both for the current month. | |
| sessionToken | No | Optional guest-checkout token returned by `guest_login`. |