# Embat treasury

Send approved invoices to Embat treasury.

This guide explains how to connect **Embat**, add treasury steps to your invoice workflow, and track payment readiness in Cortena.

**Who this is for:** Finance teams that approve payables in Cortena and schedule or confirm payments in Embat.

## When to use

After AP approval, when cash and payment scheduling live in Embat rather than only in the ledger.

## 1. Connect Embat

Open **Settings → Integrations** and connect Embat under treasury / payment integrations. Complete auth and save before you rely on workflow nodes that send invoices to Embat.

![Settings → Integrations: Embat connection](https://help.cortena.ai/assets/img/help/treasury/02-settings-integrations-embat.png)

Optional master-data helpers on the same Embat panel:

- **Sync chart of accounts**: push Embat accounting accounts into Cortena reference data when enabled for your workspace.
- **Non-SEPA payment file bank ID**: required before Embat can upload international (non-SEPA) payment files.

Payment batches on **Payments** are split into **SEPA** and **International**. See [SEPA vs international payment batches](https://help.cortena.ai/guides/integrations/sepa-international-payments) for Authorize vs Download pain XML (FinAPI) and Embat/Agicap file paths.

In the same Integrations area you can open the **Payment processing log** to review recent payment batches and provider activity (API traffic, batch lifecycle). This is separate from accounting export logs.

## 2. Add treasury nodes to the workflow

In **Settings → Workflows → Invoice workflow**, add the Embat treasury actions after your approval (and booking) steps. Typical order:

1. Approval (and any bookkeeping export you need first)
2. **Send to treasury** / Embat payment step
3. Wait or status update until Embat confirms payment

![Workflow canvas with Embat treasury nodes](https://help.cortena.ai/assets/img/help/treasury/01-workflow-treasury-nodes.png)

Publish the workflow after you connect the edges.

## 3. Invoice ready for payment

When the invoice reaches the treasury hand-off, Cortena shows it as ready for payment. Open the invoice to confirm amounts, supplier, and that Embat is the next destination.

![Invoice ready for payment before Embat hand-off](https://help.cortena.ai/assets/img/help/treasury/03-invoice-ready-for-payment.png)

## 4. Awaiting payment confirmation

After Cortena sends the invoice to Embat, status moves to **awaiting payment confirmation** until Embat (or your treasury process) confirms. Activity on the invoice records the hand-off.

![Invoice awaiting payment confirmation from Embat](https://help.cortena.ai/assets/img/help/treasury/04-invoice-awaiting-payment-confirmation.png)

## Tips

- Connect Embat before go-live; unconnected integrations block treasury nodes.
- Keep approval before the Embat step so only approved invoices reach treasury.
- Use payment status on the invoice list to spot items still waiting on Embat.
- Batches never mix SEPA and International schemes. Check the badge on **Payments** before authorizing or downloading.
- Always pick the correct Embat **company** in Integrations; batches are created in that company’s context.
