Get a commission report
A commission report of the company, keyset-paged (50 rows by default, at most 200), with totals per currency over the whole report. PRODUCTION_BY_SUPPLIER, PRODUCTION_BY_ADVISOR and PRODUCTION_BY_DESTINATION (by the supplier's country) add up the items of whole months, by when their travel ends (basis TRAVEL_END, the default), starts (TRAVEL_START, Sion's Check In) or they were booked (BOOKED, Sion's Created At), as they stand when read (an item booked with a supplier since merged counts under the survivor), largest expected first; PRODUCTION_BY_CLIENT reads the items by client name; RECEIVABLES_AGING is what suppliers owe today by aging bucket, largest balance first; RECONCILIATION_EXCEPTIONS lists unmatched and pending-review lines, overpaid items and pending claims, newest first; SUPPLIER_DIRECTORY lists every supplier the company sees (Nicer's shared directory and its own, merged ones under their survivor), first those with items in the period's whole months by revenue in the reporting currency (US dollars), then the others by name, filtered by name, supplier kind, verification, country and city, preferred programs and agency identifiers, with the totals of the period it compares with (compare: PREVIOUS_PERIOD, the default, the same number of whole months just before; SAME_PERIOD_LAST_YEAR the same days a year earlier; NONE none), and an exact count of the suppliers up to 10,000. Production and receivables rows also carry their amounts in the reporting currency (reporting…) and the report its reportingTotals, every currency added up, in reportingCurrency, counted as Sion counts them: each item converts on its own and rounds half up, its revenue at its frozen rate (the check-out day's, frozen when its first money arrived or it was written off; the latest rate on or before today until then), its commission what it received once paid (dollars as they arrived), else its expected amount at today's rate. An item that needs today's rate in a currency with none is left out, its row reads null and its currency is in unconvertedCurrencies. The period is the current year unless from or to is given. Advisors read production, receivables and the directory of their own bookings only; the other reports are for agency admins and finance staff (403 otherwise); a parameter the report does not take answers 400. Finance staff may read any company, audited.
Authorization
Path parameters
Query parameters
Header parameters
Returns
200
OK
One of the following:
- object
- object
- object
- object
- object
- object
- object