parse_norma43
Parse Spanish Norma 43 bank statement files into structured JSON, including accounts, balances, and movements, while validating record counts, totals, dates, and field formats.
Instructions
Read a Spanish Norma 43 (Cuaderno 43 / AEB43 / CSB43) bank statement into structured JSON.
Returns every account (CCC, computed IBAN, bank, holder, period, opening/closing balance, debit/credit
totals, breakdown by AEB common concept) and its movements (dates, signed amount, running balance,
concept, references, record-23 texts, decoded SEPA fields in modalidad 3). Checks the file the way a
bank does: record 33 counts and totals, opening + movements = closing, record 88 record count, dates,
signs and field formats. valid is false when any error is found; each issue names its line.
Args: content: The file as text (paste the .n43/.txt content). content_base64: The raw file bytes as base64 (use for CP850/Latin-1 files with Ñ and accents). include_movements: False returns only accounts, totals and checks. max_movements: Cap on returned movements across all accounts (default 2000, max 20000).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | ||
| max_movements | No | ||
| content_base64 | No | ||
| include_movements | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||