@allratestoday/hmrc-exchange-rate 1.3.5 โ†’ 1.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +76 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
  [![license](https://img.shields.io/npm/l/@allratestoday%2Fhmrc-exchange-rate.svg)](https://github.com/AllRates-Today/hmrc-exchange-rate/blob/main/LICENSE)
5
5
  [![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](https://www.npmjs.com/package/@allratestoday/hmrc-exchange-rate)
6
6
  [![TypeScript](https://img.shields.io/badge/TypeScript-types%20included-3178C6.svg)](https://www.typescriptlang.org/)
7
+ [![GBP/USD today](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fallratestoday.com%2Fapi%2Fopen%2Fcentral-bank%2Fhmrc%3Fsource%3DGBP%26target%3DUSD&query=%24.rate&label=GBP%2FUSD%20published%20by%20HM%20Revenue%20%26%20Customs&color=0A7E8C&cacheSeconds=3600)](https://allratestoday.com/tax-authority-rates-api/hmrc/)
8
+ [![rate date](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fallratestoday.com%2Fapi%2Fopen%2Fcentral-bank%2Fhmrc%3Fsource%3DGBP%26target%3DUSD&query=%24.rate_date&label=rate%20date&color=555&cacheSeconds=3600)](https://allratestoday.com/tax-authority-rates-api/hmrc/)
7
9
 
8
10
  **Official HM Revenue & Customs (the United Kingdom) monthly exchange rates for Node.js and TypeScript. The published tax authority rates behind tax filings, customs valuations, audits, and compliant invoicing โ€” not market estimates, but the numbers HM Revenue & Customs itself prints, every month.**
9
11
 
@@ -33,6 +35,79 @@ console.log(r.rate_date, r.rates.length); // the tax authority's latest publishe
33
35
 
34
36
  The open endpoint serves the *latest* table only and asks for a visible attribution link. The client below uses the keyed API, which adds point-in-time tables, history, and CSV/XML/Excel output.
35
37
 
38
+ ## ๐Ÿ“ˆ Latest published table
39
+
40
+ Today's full HM Revenue & Customs table, straight from the tax authority's latest publication. On GitHub it is refreshed by [a daily Action](.github/workflows/daily-table.yml) that reads the keyless endpoint above and commits only when the tax authority publishes a new table; the copy on npm is as of the package's publish date.
41
+
42
+ <!-- daily-table:start -->
43
+ Published **2026-10-01** by HM Revenue & Customs โ€” 141 rates, first 60 shown. Updated 2026-10-08.
44
+
45
+ | Base | Quote | Type | Rate |
46
+ | --- | --- | --- | ---: |
47
+ | GBP | AED | monthly | 4.9418 |
48
+ | GBP | ALL | monthly | 107.0437 |
49
+ | GBP | AMD | monthly | 489.0579 |
50
+ | GBP | AOA | monthly | 1233.1555 |
51
+ | GBP | ARS | monthly | 2027.5756 |
52
+ | GBP | AUD | monthly | 1.8868 |
53
+ | GBP | AWG | monthly | 2.4086 |
54
+ | GBP | AZN | monthly | 2.2875 |
55
+ | GBP | BAM | monthly | 2.2815 |
56
+ | GBP | BBD | monthly | 2.6912 |
57
+ | GBP | BDT | monthly | 165.6588 |
58
+ | GBP | BHD | monthly | 0.5059 |
59
+ | GBP | BIF | monthly | 4027.0511 |
60
+ | GBP | BMD | monthly | 1.3456 |
61
+ | GBP | BND | monthly | 1.7135 |
62
+ | GBP | BOB | monthly | 16.1986 |
63
+ | GBP | BRL | monthly | 6.927 |
64
+ | GBP | BSD | monthly | 1.3456 |
65
+ | GBP | BTN | monthly | 129.0581 |
66
+ | GBP | BWP | monthly | 18.1782 |
67
+ | GBP | BYN | monthly | 4.0782 |
68
+ | GBP | BZD | monthly | 2.7091 |
69
+ | GBP | CAD | monthly | 1.8758 |
70
+ | GBP | CDF | monthly | 3102.3658 |
71
+ | GBP | CHF | monthly | 1.102 |
72
+ | GBP | CLP | monthly | 1284.8396 |
73
+ | GBP | CNY | monthly | 9.0274 |
74
+ | GBP | COP | monthly | 4198.0295 |
75
+ | GBP | CRC | monthly | 602.5178 |
76
+ | GBP | CUP | monthly | 32.3035 |
77
+ | GBP | CVE | monthly | 128.6341 |
78
+ | GBP | CZK | monthly | 28.3582 |
79
+ | GBP | DJF | monthly | 239.61 |
80
+ | GBP | DKK | monthly | 8.7205 |
81
+ | GBP | DOP | monthly | 79.4809 |
82
+ | GBP | DZD | monthly | 179.9788 |
83
+ | GBP | EGP | monthly | 70.079 |
84
+ | GBP | ERN | monthly | 20.1842 |
85
+ | GBP | ETB | monthly | 217.507 |
86
+ | GBP | EUR | monthly | 1.1665 |
87
+ | GBP | FJD | monthly | 2.9777 |
88
+ | GBP | GEL | monthly | 3.498 |
89
+ | GBP | GHS | monthly | 15.4436 |
90
+ | GBP | GMD | monthly | 99.5772 |
91
+ | GBP | GNF | monthly | 11842.4924 |
92
+ | GBP | GTQ | monthly | 10.2705 |
93
+ | GBP | GYD | monthly | 281.4221 |
94
+ | GBP | HKD | monthly | 10.5562 |
95
+ | GBP | HNL | monthly | 36.152 |
96
+ | GBP | HTG | monthly | 175.9225 |
97
+ | GBP | HUF | monthly | 425.2162 |
98
+ | GBP | IDR | monthly | 23773.0976 |
99
+ | GBP | ILS | monthly | 4.0783 |
100
+ | GBP | INR | monthly | 129.0581 |
101
+ | GBP | IQD | monthly | 1763.3813 |
102
+ | GBP | ISK | monthly | 163.0905 |
103
+ | GBP | JMD | monthly | 212.3121 |
104
+ | GBP | JOD | monthly | 0.954 |
105
+ | GBP | JPY | monthly | 208.5932 |
106
+ | GBP | KES | monthly | 174.3866 |
107
+
108
+ [Full table on the HM Revenue & Customs rates page](https://allratestoday.com/tax-authority-rates-api/hmrc/) ยท Source: [Official rates published by HMRC, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/hmrc/). Rates are as printed by the tax authority; AllRatesToday is not affiliated with it.
109
+ <!-- daily-table:end -->
110
+
36
111
  ## ๐Ÿ”‘ Get your API key
37
112
 
38
113
  Get a free API key at [allratestoday.com/register](https://allratestoday.com/register) โ€” no credit card required. Latest rates are on every plan, including free.
@@ -221,6 +296,7 @@ curl "https://allratestoday.com/api/v1/central-bank/hmrc/latest?format=xml&api_k
221
296
 
222
297
  - MCP server: `npx -y @allratestoday/central-bank-mcp` (stdio) or the hosted endpoint `https://allratestoday.com/api/mcp` โ€” tools for official rates, history, cross-bank comparison and publication calendars
223
298
  - Already using the general SDK or MCP server? Since 2026-10-01 [`@allratestoday/sdk`](https://www.npmjs.com/package/@allratestoday/sdk) 1.4+ has `officialRates('hmrc')` and [`@allratestoday/mcp-server`](https://www.npmjs.com/package/@allratestoday/mcp-server) 0.6+ has a `get_official_rates` tool โ€” both return this source's latest table with no key, so you can add it without a second dependency
299
+ - Claude Code plugin (no key): `/plugin marketplace add AllRates-Today/claude-code-plugin` then `/plugin install allratestoday@allratestoday` โ€” bundles both MCP servers plus an `/official-rate hmrc ...` command
224
300
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
225
301
 
226
302
  ## โš–๏ธ Published vs derived rates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allratestoday/hmrc-exchange-rate",
3
- "version": "1.3.5",
3
+ "version": "1.3.7",
4
4
  "description": "Official HM Revenue & Customs (United Kingdom) monthly exchange rates โ€” 141 currencies vs GBP, history since 2021. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "hmrc",