Skip to Content
Product Information
Author's profile photo Cheng-Hua Huang

PIX Payment in Brazil – Incoming payment

PIX is a new instant payment method, which enables electronic money transfers in real-time available 24/7 between accounts without any intermediary and falls under the responsibility of the Central Bank of Brazil. After reading this blog post, you will understand the structure of PIX payment and its implementation.

Workflow of the PIX payment

Before understanding the procedures in detail about PIX incoming payment, we divide the whole process into four phases: (1) invoices, (2) payment request (registration of dynamic QR code), (3) payment accomplished, and (4) payment confirmation with return files. You can find the required actions by different actors in the flowchart above. In the following sections, we go through these phases with more information.

Invoice

Invoices mark the start of processing payment requests. The invoices here include documents which can be printed and sent to customers for clearing payments, such as invoice, dunning notice, installment plan, FICA document, and so on.

Payment request – QR code registration

Payees can get dynamic QR codes through registration or get static QR codes without registration. If payees choose static QR codes, the procedure of payment request will be skipped, and payees can send the QR code directly to the customer. But in this blog post we mainly describe the process of dynamic QR code registration.

Dynamic QR codes can be registered through different processing channels: file CNAB750 or API(synchronous and asynchronous). Payees will choose the processing channel based on the contracts with their PIX providers, because the PIX provider will reply with return files through the same processing channel. The results of return files can be QR codes or errors.

Please note that API (synchronous and asynchronous) processing now is supported by SAP through BADIs which are available for customer to include technical implementation of API, such as Web Service call, XI communication, and so on.

For more information about customizing payment requests, please refer to the blog post of FI-CA Payment Requests.

Payment accomplished (Outside the scope of the SAP delivery)

After accessing QR codes, the payer should arrange the payment with their bank’s involvement. This action is outside the scope of the SAP delivery.

Payment confirmation with return files

Once the payment is accomplished, the payee’s bank will confirm the payment and create a payment lot. In principle, the bank will send return files of payment confirmation through CNAB750, regardless of the processing channel is API or CNAB750. Payee will find the payment lots and number of payer’s clearing document. the invoices are cleared.

Technical information

Prerequisites

To process incoming payments, ensure that you have implemented the PIX solution in your Financial Accounting component. The solution in Contract Accounting (FI-CA) works together with the PIX solution in Financial Accounting (FI).

Please note that the customizing and screenshots are used as an example, you might have other settings or transaction types differ from that in this blog post.

  1. You have assigned a PIX key as an alternative bank account in your house bank master data in transaction FI01(creation)/ FI02(Change) and enter the PIX key for the relevant house bank account in the Alternative Bank Account Numberfield on the House Bank Account Data.
  2. You have assigned the relevant ISPB code to a company code and house bank by customizing for Financial Accounting under Bank Accounting > Bank Accounts > Country-Specific Functions > Brazil > Assign ISPB Codes to Bank Codes.
  3. You have Set Up the Payment Request Processing in Processing Customizing activity in transaction SM34 with View cluster VC_TFKPRQ.
  4. You have created a payment method in Transaction FQP1 by following the settings as below. This payment method is used in the payment request run (transaction FPYR).
    • Counties/regions: select BR
    • Payment method: Select and click BR_FEBRABAN_750 inc. PIX batch (payment method 4.) In the classification group box, the Payment Method for Incoming Paymentscheckbox is checked. In the processing type, select checkboxes Bank Account and Payment order only. In the Required master record classification group box, the Bank details and the SWIFT Required checkboxes are selected.
      Finally, enter BR_FEBRABAN_750 in the Format field in Payment medium format.
  5. You have assigned external transaction types to the CNAB750 transaction type in transaction OT83 (FI) and view V_TFK028G (FI-CA). This process determines the return status of your request.
    • Customizing in transaction OT83 for FI processing and finding Posting rule from external transaction:
      Create Transaction Type: Select as the transaction type.
      Assign External Transaction Type: You can find the external transaction which represents different return statuses. (02 – QR code was registered/ 03 – error in QR code registration/ 06 – accepted payments/ 07 – QR code cancel/ 08 – QR code expired)
    • Create Key for Posting Rules: Select QR in the Posting Rules. Since posting rule of QR is only with defined key, so Posting Rule of QR is unavailable.
    • Assign Bank Accounts to Transaction Types: You can find the PIX key and Bank account assigned with the appointed transaction type as below.
    • Customizing in view V_TFK028G (in transaction SM30) for FI-CA customizing:
      Combined with the external transaction mentioned above, each return status means the update of payment request. There is a new type of business transaction – 06 QR code update when QR code is registered, cancelled, or rejected.

Procedure of processing incoming payment

After the set-up, you can start to request a dynamic QR code by communicating with the PIX system. For more information about the step-by-step procedure, please refer to the latest documentation in SAP Help Portal.

SAP Notes

 

Is this blog post useful? Do you have any further comments regarding this topic? Please don’t hesitate to share your thoughts in the comment section below. 

Assigned Tags

      7 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Manuel Robalinho
      Manuel Robalinho

      Nice document

      Author's profile photo Ernane Lima
      Ernane Lima

      Very good!!

      Author's profile photo Gerfferson Santos
      Gerfferson Santos

      Hello Cheng-Hua Huang,

      I am not a FI consultant, but I need to apply the notes and in my environment there is only the FI-CAX component.
      Is it mandatory to have FI-CA or does FI-CAX contain everything you have in FI-CA?
      Thank you very much!

      Author's profile photo Jiri Holec
      Jiri Holec

      Hello Santos,

      the functionality is delivered within FI-CA  and with the higher releases within S4CORE sw.components. We believe this will suite you well. Now the pilot mode regime is in progress for customers performing early adoption, in case you would be willing to participate in this stage, just contact product manager for this localization product at maria.izilda@sap.com. Anyway check regularly the announcement SAP note 2996095 where you can reach the updates related to the localized scope or the timeline for its availability.

      Author's profile photo Ernane Lima
      Ernane Lima

      Hi,

      will it be necessary to acquire a license for Fica?

      Author's profile photo Ales Linhart
      Ales Linhart

      Hello Lima,

      it depends, if your business processes go through contract accounting, then you definitely has FI-CA or S4CORE component installed. If you are interesting about PIX incoming payment within FI-AR business processes, please observe solution in note 3028556 - "Prerequisite SAP Notes from Financials".  If you have still doubt, I would recommend to contact local product manager - you may find the contact on her in announcement note 2996095.

      Note: At the moment this solution is still in pilot mode - so only pilot customers may really download this solution.

      Hope it helps.

      Author's profile photo Vladimir Slama
      Vladimir Slama

      Great solution!