parse_boleto
Extract bank code, amount in BRL, and due date from a boleto's digit line. Validates the 47-digit line and returns error on invalid input.
Instructions
Extrai código do banco, valor (R$) e data de vencimento da linha digitável de um boleto. Falha com mensagem clara se a linha for inválida.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| linha_digitavel | Yes | Linha digitável com 47 dígitos, com ou sem pontuação |