Accessing the Bill Payments page
To open the Bill Payments page, click Payments → Bill Payments from the left-side menu. The page displays all bill payments for the organization in a data table. Use the Filters section to refine the payments shown. From the top-right of the page, two buttons are available:
- Pay bill — pay a bill using a digitable line or barcode.
- Pay DARF — pay a DARF tax form by entering the tax details manually.
Paying a bill
Fill in the fields:
- Digitable line or barcode (required) — the full digitable line or barcode from the bill.
- Source account ID (required) — the Midaz account to debit for this payment.
- Scheduled date (optional) — schedule the payment for a future date. Leave blank to process immediately.
- Description (optional) — an internal note for this payment.
Paying a DARF
Fill in the fields:Taxpayer
- Person type (required) — Individual (PF) or Company (PJ). This selection changes the document field below.
- CPF (required, when Individual) — the taxpayer’s CPF (
000.000.000-00). - CNPJ (required, when Company) — the company’s CNPJ (
00.000.000/0000-00). - Taxpayer full name (required) — the taxpayer’s full name.
- Treasury revenue code (required) — the 4-digit revenue code (e.g.,
0190). - DARF type (required) — the type of DARF document.
- Reference date (required) — the competency/reference date for the tax.
- Due date (optional) — the due date for the payment.
- Principal amount (required) — the main tax value (R$).
- Interest (required) — interest amount due (R$). Enter
0,00if none. - Fine (required) — fine amount due (R$). Enter
0,00if none.
- Source account ID (required) — the Midaz account to debit.
- Reference number (optional) — an internal reference for this DARF payment.
Payment states
A bill payment moves through the following states:
- Pending — the payment was submitted and is awaiting processing.
- Scheduled — the payment is scheduled for a future date.
- Processing — the payment is being processed by the provider.
- Paid — the payment was completed successfully.
- Failed — the payment could not be completed (see Error handling).
- Cancelled — the payment was cancelled before processing.
Error handling
If a payment fails, it appears with a Failed status and an error reason in the details panel. Common causes include:
- Invalid digitable line — the line is malformed or the bill has expired. Check the bill and retry.
- Invalid DARF details — incorrect revenue code, CPF/CNPJ, or amounts. Correct the fields and retry.
- Insufficient funds — the source account does not have enough balance. Top up the account and retry.
- Provider error — the payment provider rejected the request. Retry or contact support.

