accepted filing — whether Cadana prepared the filing (source: cadana) or you filed it yourself and submitted the totals to Cadana (source: external). Cadana debits your business balance, converts FX if needed, and routes the payment through local rails.
How It Works
Filing is in accepted status
Every remittance points at one or more
accepted filings. For source: cadana filings Cadana drives the filing through accepted itself; for source: external filings the customer creates them directly in accepted after filing with the authority.Create the remittance
Specify which filings to pay and the currency to fund from. Optionally provide
paymentDetails (same shape as a beneficiary in Embedded Payments) to route the payment to a bank account you specify — otherwise Cadana uses its internal default routing for the authority.Cadana converts and pays
Cadana handles FX conversion (if needed) and delivers the payment to the government account via local rails. The filing’s
filingReference is used as the bank attribution reference (or override it with paymentReference on the remittance).Remittance-Only Walkthrough (External Filing)
Use this flow when you file statutory returns with the authority yourself and just need Cadana to remit the payments. The data you’d normally collect in an internal Excel workbook — totals, government references, per-employee breakdowns, bank routing — maps directly to the API.Scenario
Your Mexican business closes February 2026 payroll with 15 employees. You’ve already filed all four returns through the government portals and received a Línea de Captura for each:| Filing | Authority | Total (MXN) | Línea de Captura |
|---|---|---|---|
| ISR Withholding | SAT | 82,345.00 | 0123456ABCD7890EF |
| IMSS Contributions | IMSS | 45,123.00 | 9876543ZYXW1234AB |
| INFONAVIT Contributions | INFONAVIT | 18,400.00 | 1122334455667788CD |
| ISN Payroll Tax (Jalisco) | State (JAL) | 6,250.00 | JAL-2026-02-PTR123 |
Step 1: Create an External-Source Filing
For each return, create a filing withsource: external. Provide the total, the Línea de Captura as filingReference, and a per-employee breakdown — Cadana stores the breakdown so each remittance can be reconciled back to specific workers without those workers needing person records in Cadana.
Response:
accepted — there’s no review or submission step on Cadana’s side because you’ve already submitted the return to SAT. Repeat this call once for each of the other three returns (IMSS, INFONAVIT, ISN).
Step 2: Create the Remittance
Once all four filings exist, create remittances against them. You can batch filings to the same authority into one remittance, or create them one-by-one — whichever matches the bank transfers you’re going to fund. The example below shows the ISR remittance with a customer-provided CLABE as the destination. The CLABE goes underpaymentDetails.bank.accountNumber — the same shape used for beneficiaries in the Embedded Payments API. The Línea de Captura supplied on the filing is automatically used as the bank reference unless you override it with paymentReference.
Response:
Omit
paymentDetails to use Cadana’s internal default routing for the authority. Provide it when you want to specify the routing yourself — useful when you manage your own statutory-payment account mapping. The paymentDetails shape is the same paymentMethods object used by vendor payments and beneficiaries elsewhere in the API, so the routing primitives (bank, momo) work the same way across products.Step 3: Track and Reconcile
Fetch the remittance to see the FX conversion, the destination Cadana used, and the lifecycle: Response:paymentReference echoes the value Cadana attached to the transfer — defaulted from the filing’s filingReference (Línea de Captura) unless you overrode it explicitly on the remittance.
After-Filing Walkthrough (Cadana Filing)
When Cadana prepared and submitted the filing (source: cadana), the remittance step is simpler — there’s no destination to specify and Cadana already knows the period reference. Once the filing reaches accepted, create the remittance with just the filing IDs and the funding currency:
Remittance Statuses
| Status | Description |
|---|---|
pending | Payment initiated, awaiting processing |
processing | Payment is being processed through local payment rails |
completed | Payment delivered to the government authority |
failed | Payment failed — check the error details and retry |
The status progresses:
pending → processing → completed. Listen for the remittance.completed webhook event to be notified, or poll GET /v1/statutory/remittances/{id}.Download Receipt
Once the remittance iscompleted, download the receipt for your audit trail:
The receipt is returned as a PDF containing the authority’s confirmation of payment, the amount, and the filing reference number.
Next Steps
Statutory Filing
Create Cadana-prepared or external filings before remitting
The Full Loop
See filing and remittance together in an end-to-end walkthrough
Getting Started
Discover jurisdictions, required fields, and requirements
Remittance API Reference
Full endpoint documentation