fx-accounting-rateslisted
Install: claude install-skill nusantara-ventures/exchangerate-skills
# FX accounting rates
Converting a number is the easy part. The question that actually matters — **which rate, dated which day, from which source** — is a policy decision, not a math problem. Get the convention wrong and every downstream FX gain/loss line is wrong too, silently.
**Confirm the required rate source with your accountant or jurisdiction before treating any of this as your policy.** This skill shows common conventions and how to fetch them correctly with exchangerate.dev; it is not tax or legal advice.
## 1. Every FX transaction needs a rate-of-record AND a date convention
A foreign-currency transaction touches the books at least twice — recognition and settlement — and each convention names a different rate date (examples, confirm with your accountant):
- **Transaction/invoice-date rate** — the rate on the issue date; most common for revenue recognition.
- **Payment-date rate** — the rate on the day cash actually moved.
- **Realized FX gain/loss** — the difference between those two rates on the same amount, booked when cash settles.
- **Month-end closing rate** — for balances still open at period end, revalue at the closing rate; the delta from the booked rate is **unrealized** gain/loss, reversed next period.
The load-bearing rule isn't the definitions above (your accountant owns those) — it's that each convention pins a specific **date**, so the whole skill is really about fetching the rate for the right date from the right `source`. Pick one convention p