# `Logistiki.Event.InvoicePaid`
[🔗](https://github.com/thanos/logistiki/blob/v0.1.0/lib/logistiki/events/invoice_paid.ex#L1)

An invoice paid by a customer from their operating account.

Accounting impact: debit counterparty, credit client.

## Fields

Inherits all common fields from `Logistiki.Event` plus:

  * `cash_account_code` — `String.t() | nil` — the cash/nostro account code
  * `counterparty_account_code` — `String.t() | nil` — the counterparty's
    account code (e.g. `"LIABILITIES:CLIENT_DEPOSITS:USD:VENDOR"`)

## Example

    %Logistiki.Event.InvoicePaid{
      id: "evt_006",
      account_code: "LIABILITIES:CLIENT_DEPOSITS:USD:ACME:OPERATING",
      counterparty_account_code: "LIABILITIES:CLIENT_DEPOSITS:USD:VENDOR",
      cash_account_code: "ASSETS:CASH:USD:NOSTRO",
      amount: Decimal.new("250.00"),
      currency: "USD",
      effective_date: ~D[2026-07-07]
    }

---

*Consult [api-reference.md](api-reference.md) for complete listing*
