Commission actual sync
commission_actual_sync[Analysis] Reads the statements (finance_transactions) of the accounts that have them (Trendyol, Allegro, Amazon, Kaufland from its bookings report, Temu from its per-order amounts) for the last days, stores every line's real commission, and corrects a rule when the observed percentage differs by more than 0.5 points. Runs daily by itself; call it to run now.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Days back (default 3; max 15 per statement call). | |
| account | No | Account id, label, domain or "channel country" (e.g. "emag ro"). Optional when only one account is connected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||