parse_boleto
Parse a Brazilian Boleto (bank slip) document using AI-powered OCR for automated payment processing. Extracts payment information and banking details including:
- codigo_de_barras: Barcode number for payment processing
- valor: Payment amount in centavos (cents)
- vencimento: Due date (YYYY-MM-DD)
- beneficiario/pagador: Beneficiary and payer names
- cpf_cnpj_beneficiario/cpf_cnpj_pagador: Tax IDs
- agencia_cod_beneficiario: Bank agency and beneficiary code
- carteira: Bank wallet/portfolio number
- data_emissao/data_processamento: Issue and processing dates
- endereco_beneficiario/endereco_pagador: Addresses
- nosso_numero: Bank's internal reference number
- numero_documento: Document number
Parameters
| Name | Description | Type | Default |
|---|---|---|---|
| document_path (required) | The path to the Boleto document to be parsed. dict: The parsed Boleto data. ValueError: If document path is invalid or parsing fails. | Union[Path, str] | None |
Return Value
abstra_internals.contracts_generated.CloudApiCliModelsBoletoResponse