Instant payments represent a new arrangement within the Brazilian financial system that allows 24/7 transactions in real-time between different institutions without the need for intermediaries such as card schemes, acquirers, or issuers. This blog post helps you understand the individual functionalities and solutions regarding Brazilian Instant Payments in SAP S/4 HANA.
This blog is divided into 2 parts:
After you purchase any goods or services, the supplier sends you the invoice that contains a QR- code information with the PIX link and the transaction ID which you need during the payment process.
The following process explains to you the steps of configuring the system and the PIX data transfer from the master data through document posting and payment run to the payment media. When you create the payment media, the system fills out segments J and J52 PIX or segments A and B with the PIX key in the payment file, depending on how you enter the PIX keys for document posting.
Run the report IDFI_PIX_CREATE_BANK to create the internal banks of type 5 – Payment system
Report will create the master data of the following technical banks:
and insert them into the table BNKAIN with the field BINTK = 5 (Payment System).
Maintain PIX key in the Supplier Master Data in the field Account Holder (BUT0BK\LFBK\KNBK-KOINH).
Fields that are required to maintain a bank detail with alias are:
The field Account Holder has maximum length of 60 characters. If Bank Key PIX_EMAIL is used and the email entered in the field Accounts Holder exceeds 60 characters, the additional 17 characters can be maintained in the field Reference Details.
There are two types of payment that can be performed via posting of supplier invoices:
In this scenario, the proper PIX key used for the payment is defined by the Partner Bank Type (BSEG-BVTYP). You choose the relevant partner bank type that already contains the PIX keys in the Part. Bank field.
When the company receives the PIX invoice with QR code, the payment is done via CNAB 240 with segments J and J52PIX. The information from the QR Code must be stored in Supplier Invoice and then read during payment media creation.
To enter QR Code information, select the button Pix Info.
In the pop-up window, you can enter either:
In SAP S/4HANA 1909+ releases, the URL Link or Transaction ID in the Supplier invoice can also be specified in the Fiori App Manage Journal Entries. To do that, select Manage Additional Payment Attributes for the specified Journal Entry.
In this view, you can enter URL Link (Dynamic QR Code) or Transaction ID (Static QR Code).
The payment method for outgoing payments must have the following parameters:
This blog is divided into 2 parts:
Accounts Payable
After you purchase any goods or services, the supplier sends you the invoice that contains a QR- code information with the PIX link and the transaction ID which you need during the payment process.
The following process explains to you the steps of configuring the system and the PIX data transfer from the master data through document posting and payment run to the payment media. When you create the payment media, the system fills out segments J and J52 PIX or segments A and B with the PIX key in the payment file, depending on how you enter the PIX keys for document posting.
Bank Master Data
Run the report IDFI_PIX_CREATE_BANK to create the internal banks of type 5 – Payment system
Report will create the master data of the following technical banks:
- PIX_CPF
- PIX_CNPJ
- PIX_EMAIL
- PIX_PHONE
- PIX_RANDOMKEY
and insert them into the table BNKAIN with the field BINTK = 5 (Payment System).
Supplier Master Data
Maintain PIX key in the Supplier Master Data in the field Account Holder (BUT0BK\LFBK\KNBK-KOINH).
Fields that are required to maintain a bank detail with alias are:
- Bank Country
- Bank Key (Internal Bank with category type 5)
- (technical) Bank Account with mandatory prefix <ALIAS>
- Account Holder (contains PIX key)
- Reference Details
The field Account Holder has maximum length of 60 characters. If Bank Key PIX_EMAIL is used and the email entered in the field Accounts Holder exceeds 60 characters, the additional 17 characters can be maintained in the field Reference Details.
Posting Supplier Invoice
There are two types of payment that can be performed via posting of supplier invoices:
1. PIX Transfer (PIX key defined by Partner Bank Type)
In this scenario, the proper PIX key used for the payment is defined by the Partner Bank Type (BSEG-BVTYP). You choose the relevant partner bank type that already contains the PIX keys in the Part. Bank field.
2. QR code information received via incoming invoice
When the company receives the PIX invoice with QR code, the payment is done via CNAB 240 with segments J and J52PIX. The information from the QR Code must be stored in Supplier Invoice and then read during payment media creation.
To enter QR Code information, select the button Pix Info.
In the pop-up window, you can enter either:
- the URL Link (Dynamic QR) – up to 77-character long string
- or the Transaction ID (Static QR) – up to 35-character long string, and select PIX key via Partner Bank Type Field
In SAP S/4HANA 1909+ releases, the URL Link or Transaction ID in the Supplier invoice can also be specified in the Fiori App Manage Journal Entries. To do that, select Manage Additional Payment Attributes for the specified Journal Entry.
In this view, you can enter URL Link (Dynamic QR Code) or Transaction ID (Static QR Code).
Payment Method for Outgoing Payments
The payment method for outgoing payments must have the following parameters:
Payment method for | Outgoing Payments |
Payment method classification | Bank transfer |
Required master record specifications | Bank details (Account Number Required) |
Payment medium | Format: BR_FEBRABAN_A |
Format Supplement: PIX |