Commission import
commission_import[Analysis] Imports a marketplace settlement (eMAG "decont" export, a Temu statement file) as CSV text or an XLSX file in base64: stores the real commission per order line and lists the lines whose percentage deviates from the rule by more than 0.5 points. Columns are detected by name (Comanda, SKU, Valoare fara TVA, Comision...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | No | The CSV content. | |
| period | No | YYYY-MM the settlement covers, used when lines have no date. | |
| account | No | Account id, label, domain or "channel country" (e.g. "emag ro"). Optional when only one account is connected. | |
| vat_percent | No | VAT to derive net from gross when the file has only gross (default 21). | |
| xlsx_base64 | No | The XLSX file, base64. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||