list_bank_accounts
List company bank accounts with IBAN, SWIFT, and type, enriched with country code and bank identifier for Portuguese reporting requirements like Modelo 30 and IES annexes.
Instructions
List company bank accounts (name, IBAN, SWIFT, type).
Each item is enriched with two derived fields:
pais_conta— ISO country code, fromiban[:2](e.g.PT,GB).id_banco— bank identifier:PTaccounts: first 4 digits ofnib(e.g.0007Novo Banco,0035Caixa Geral de Depósitos) — matches AT Tabelas_apoio.Foreign accounts:
swiftwhen present, elseiban[4:8].
Both are None when the underlying iban/nib/swift is empty — a
TOCOnline data-completeness issue to fix in the web UI or via PATCH.
These derived fields are what Portuguese reports like Modelo 30 (foreign payments declaration) and IES bank annexes ask for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | JSON:API sort, e.g. `name`. | |
| fields | No | Comma-separated subset of fields to return. | |
| page_size | No | Items per page (1-500). | |
| page_number | No | 1-based page number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||