bokio_find_duplicates
Detect possible double bookings in a SIE export by finding same-account, same-amount lines from different verifications within a day window; annulled entries are skipped.
Instructions
Find possible double bookings in the SIE export: lines with the same account and amount from different verifications within windowDays of each other. Annulled verifications are skipped; to check against a bank statement use bokio_reconcile_bank. Amounts in ledger sign: debit positive, credit negative.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last day, inclusive (YYYY-MM-DD). | |
| from | Yes | First day, inclusive (YYYY-MM-DD). | |
| account | No | Only this BAS account; omit for all accounts. | |
| companyId | No | Bokio company id. Defaults to BOKIO_COMPANY_ID if omitted. | |
| windowDays | No | Max days between the two bookings; default 7. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groups | Yes |