Páginas filhas
  • Banco do Brasil - Payments Configuration - FINA710

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

Índice
minLevel0

01. OVERVIEW

Settings required for registration of payments by the Banco do Brasil API. When testing in a staging environment, you should use fictitious data as documented in the BB Developers Portal.

02. CREDENTIALS

To configure the layout, get the information below from Banco do Brasil:

Application Key: Key to access the application

Client ID: Identification code of the client

Client Secret: Secret key for validation of the client.

Communication between the ERP and the bank occurs by mutual authentication of certificates (mTLS); hence, the files must be requested from the bank. For further details, access the documentation available in the BB Developers Portal.

Informações
titleInternal Network

For the communication between Protheus and the bank, you need to configure the network security; otherwise, to accept the IP output range related to the DNS: 

https://oauth.bb.com.br

https://oauth.hm.bb.com.br

https://api.bb.com.br

https://api.hm.bb.com.br

https://api-ip.bb.com.br

03. BANK REGISTER - MATA070

  • To enable the configuration of a layout for Banco do Brasil, enter the Banco do Brasil code 001 in field A6_BCOOFI (Official Bank).

04. BANK PARAMETERS - FINA130

  • Agreement Number: enter in field Company Code (EE_CODEMP).
  • Transaction ID: enter the sequence used for payment transactions (EE_IDTRANS).
  • Auto Release: enter whether payments will be released automatically (EE_LIBEAUT).
  • Official Branch: enter the number of the official branch (EE_AGEOFI)
  • Official Account: enter the number of the official account (EE_CTAOFI)
  • Official Account Digit: enter the verification digit of official account (EE_DVCTOFI)


05. PAYMENT BORDEREAU

You can generate a bordereau of payments with online registration. Just access the routines Payment Bordereau (FINA240) or Payment Bordereau with Taxes (FINA241). Enter the previously registered bank and subaccount data to enable the option Online Record. This option selects the bordereau for online registration (EA_BORAPI = S).

Payment Templates (Generic Table 58 of SX5) approved for transmission:

    • 30 - Transmission of payment of generated bills
    • 31 - Transmission of payment of generated bills
    • 01 - Transmission of transfer between accounts
    • 03 - Transmission of transfer between accounts
    • 41 - Transmission of transfer between accounts
    • 43 - Transmission of transfer between accounts
    • 13 - Transmission of FORM payments with barcode 
    • 16 - Transmission of DARF payments
    • 18 - Transmission of DARF payments
    • 17 - Transmission of GPS payments