Skip to content

v2026.3.1

Release date: March 12, 2026


✨ New Features

💰 Billing Module

A complete financial management system integrated into Interflow to manage contracts, installments, revenue sharing and payment gateway integration (Asaas).

What is it for?

  • Client contracts – Create contracts with multiple installments, track status and link to a client
  • Revenue splits – Automatically distribute received amounts among payees (percentage, fixed, gateway fee, remainder)
  • Templates – Standardize recurring settings and generate contracts in one click
  • Payees – Register who receives payouts, with PIX/bank details to facilitate transfers
  • Payout report – Track and record distributions individually or in bulk
  • Asaas gateway – Issue charges (bank slip, PIX) and payment links directly from Interflow

How to use?

  1. Go to Billing → Settings and integrate your Asaas account
  2. Register your Payees with type and transfer details
  3. Create a Template with your business's standard revenue split
  4. Generate Contracts from the template, linking the client
  5. Activate the contract and issue charges for each installment
  6. Payments arrive via webhook and splits are processed automatically
  7. Track payouts in the Payout Report and record distributions

For full details, see the Billing Module Guide.


🚀 Getting started now

1. Access the module

In the left sidebar, click on Billing.

If the option is not visible, contact support to request module activation on your account.

2. Configure the Asaas integration

  1. Inside Billing, go to the Settings tab
  2. Select Asaas and enter your API key (starts with $aact_...)
  3. Choose the environment (Sandbox for testing or Production)
  4. Save

3. Configure the webhook in the Asaas portal

For payments to be processed automatically, you need to register Interflow's webhook URL in the Asaas panel:

  1. In the Asaas panel → My Account → Settings → Integrations → Webhook
  2. Add the URL:
    https://node.interflow.chat/webhooks/asaas
  3. Select the events: PAYMENT_RECEIVED, PAYMENT_CONFIRMED, PAYMENT_RECEIVED_IN_CASH
  4. In the Authentication token field, generate or define a secret key and copy the value
  5. Save in Asaas
  6. Paste that same key in the Webhook secret key field under Billing → Settings in Interflow and save

Security

The secret key ensures only legitimate Asaas requests are accepted. Without it, anyone with the URL could simulate payment events. Keep the key in a safe place — it cannot be viewed again in Asaas.

Without the webhook configured, payments will not be recorded automatically — you will need to manually record each installment.

4. Register your payees

In Billing → Payees, register the split recipients (commissioned agents, franchisees, sales teams, etc.) with their respective types (percentage, fixed, remainder).

In Billing → Templates, configure the standard revenue split model for your operation to create contracts quickly.

6. Generate your first contract

In Billing → Contracts, create a contract, select the client, define the installments and activate it. The revenue split will be applied automatically to each received payment.

Revenue Splits — types

TypeBehavior
PercentageX% of the paid amount → sent to Asaas automatically
FixedFixed amount → sent to Asaas automatically
FeeGateway fee (Asaas reports via webhook) → marked as paid automatically, never sent to Asaas
RemainderCalculated after all other splits → always manual, never sent to Asaas

Manual payment recording

When clicking Mark as paid on an installment, a modal allows entering the amount and payment date. The system:

  • Marks the charge as received in Asaas (receiveInCash) without financial movement
  • Records the payment with identification of who made the entry
  • Processes splits automatically (same as the webhook flow)
  • Checks if the contract was completed

Payment origin indicator

Each paid installment displays a badge showing whether the payment came via Gateway (Asaas) or was recorded Manually.

Cancellation with gateway cleanup

When canceling a contract with open charges in Asaas, the system removes them automatically in the correct order (last to first), as required by the Asaas API.


🎯 Benefits

  • Centralized financial control – Contracts, installments and payouts in one place
  • Automatic splits – Each payment processes revenue distribution without manual intervention
  • Reusable templates – Reduce contract creation time for recurring scenarios
  • Asaas integration – Issue charges, payment links and receive webhook notifications
  • Complete manual entry – Record out-of-gateway payments with the same processing pipeline
  • Audit trail – Every action (activation, cancellation, payment) generates a traceable event
  • Idempotency – Duplicate or late webhooks are automatically ignored

Documentation constantly being updated