@allratestoday/hmrc-exchange-rate 1.3.16 โ 1.3.17
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.
- package/README.md +70 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ const r = await fetch('https://allratestoday.com/api/open/central-bank/hmrc').th
|
|
|
37
37
|
console.log(r.rate_date, r.rates.length); // the tax authority's latest published table, no key
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
The open endpoint serves the *latest* table only (JSON by default; add `?format=csv`, `xml` or `xlsx` for a file) and
|
|
40
|
+
The open endpoint serves the *latest* table only (JSON by default; add `?format=csv`, `xml` or `xlsx` for a file) and is free to use with a visible, followable link where the rates are shown: `<a href="https://allratestoday.com">Exchange rates by AllRatesToday</a>` (terms: <https://allratestoday.com/terms/#attribution>). The client below uses the keyed API, which adds point-in-time tables and history; with a key the link is appreciated, not required.
|
|
41
41
|
|
|
42
42
|
## ๐ Latest published table
|
|
43
43
|
|
|
@@ -46,7 +46,75 @@ The open endpoint serves the *latest* table only (JSON by default; add `?format=
|
|
|
46
46
|
The image is rendered live from the keyless endpoint above, so it follows the tax authority's publications on npm and on GitHub alike without a new release. The same table as text is folded below for search and copy-paste: on GitHub [a daily Action](.github/workflows/daily-table.yml) refreshes it whenever the tax authority publishes a new table; on npm it is as of the package's publish date.
|
|
47
47
|
|
|
48
48
|
<!-- daily-table:start -->
|
|
49
|
-
|
|
49
|
+
<details>
|
|
50
|
+
<summary>Table as text: published 2026-10-01 by HM Revenue & Customs โ 141 rates, first 60 shown. Updated 2026-10-21.</summary>
|
|
51
|
+
|
|
52
|
+
| Base | Quote | Type | Rate |
|
|
53
|
+
| --- | --- | --- | ---: |
|
|
54
|
+
| GBP | AED | monthly | 4.9418 |
|
|
55
|
+
| GBP | ALL | monthly | 107.0437 |
|
|
56
|
+
| GBP | AMD | monthly | 489.0579 |
|
|
57
|
+
| GBP | AOA | monthly | 1233.1555 |
|
|
58
|
+
| GBP | ARS | monthly | 2027.5756 |
|
|
59
|
+
| GBP | AUD | monthly | 1.8868 |
|
|
60
|
+
| GBP | AWG | monthly | 2.4086 |
|
|
61
|
+
| GBP | AZN | monthly | 2.2875 |
|
|
62
|
+
| GBP | BAM | monthly | 2.2815 |
|
|
63
|
+
| GBP | BBD | monthly | 2.6912 |
|
|
64
|
+
| GBP | BDT | monthly | 165.6588 |
|
|
65
|
+
| GBP | BHD | monthly | 0.5059 |
|
|
66
|
+
| GBP | BIF | monthly | 4027.0511 |
|
|
67
|
+
| GBP | BMD | monthly | 1.3456 |
|
|
68
|
+
| GBP | BND | monthly | 1.7135 |
|
|
69
|
+
| GBP | BOB | monthly | 16.1986 |
|
|
70
|
+
| GBP | BRL | monthly | 6.927 |
|
|
71
|
+
| GBP | BSD | monthly | 1.3456 |
|
|
72
|
+
| GBP | BTN | monthly | 129.0581 |
|
|
73
|
+
| GBP | BWP | monthly | 18.1782 |
|
|
74
|
+
| GBP | BYN | monthly | 4.0782 |
|
|
75
|
+
| GBP | BZD | monthly | 2.7091 |
|
|
76
|
+
| GBP | CAD | monthly | 1.8758 |
|
|
77
|
+
| GBP | CDF | monthly | 3102.3658 |
|
|
78
|
+
| GBP | CHF | monthly | 1.102 |
|
|
79
|
+
| GBP | CLP | monthly | 1284.8396 |
|
|
80
|
+
| GBP | CNY | monthly | 9.0274 |
|
|
81
|
+
| GBP | COP | monthly | 4198.0295 |
|
|
82
|
+
| GBP | CRC | monthly | 602.5178 |
|
|
83
|
+
| GBP | CUP | monthly | 32.3035 |
|
|
84
|
+
| GBP | CVE | monthly | 128.6341 |
|
|
85
|
+
| GBP | CZK | monthly | 28.3582 |
|
|
86
|
+
| GBP | DJF | monthly | 239.61 |
|
|
87
|
+
| GBP | DKK | monthly | 8.7205 |
|
|
88
|
+
| GBP | DOP | monthly | 79.4809 |
|
|
89
|
+
| GBP | DZD | monthly | 179.9788 |
|
|
90
|
+
| GBP | EGP | monthly | 70.079 |
|
|
91
|
+
| GBP | ERN | monthly | 20.1842 |
|
|
92
|
+
| GBP | ETB | monthly | 217.507 |
|
|
93
|
+
| GBP | EUR | monthly | 1.1665 |
|
|
94
|
+
| GBP | FJD | monthly | 2.9777 |
|
|
95
|
+
| GBP | GEL | monthly | 3.498 |
|
|
96
|
+
| GBP | GHS | monthly | 15.4436 |
|
|
97
|
+
| GBP | GMD | monthly | 99.5772 |
|
|
98
|
+
| GBP | GNF | monthly | 11842.4924 |
|
|
99
|
+
| GBP | GTQ | monthly | 10.2705 |
|
|
100
|
+
| GBP | GYD | monthly | 281.4221 |
|
|
101
|
+
| GBP | HKD | monthly | 10.5562 |
|
|
102
|
+
| GBP | HNL | monthly | 36.152 |
|
|
103
|
+
| GBP | HTG | monthly | 175.9225 |
|
|
104
|
+
| GBP | HUF | monthly | 425.2162 |
|
|
105
|
+
| GBP | IDR | monthly | 23773.0976 |
|
|
106
|
+
| GBP | ILS | monthly | 4.0783 |
|
|
107
|
+
| GBP | INR | monthly | 129.0581 |
|
|
108
|
+
| GBP | IQD | monthly | 1763.3813 |
|
|
109
|
+
| GBP | ISK | monthly | 163.0905 |
|
|
110
|
+
| GBP | JMD | monthly | 212.3121 |
|
|
111
|
+
| GBP | JOD | monthly | 0.954 |
|
|
112
|
+
| GBP | JPY | monthly | 208.5932 |
|
|
113
|
+
| GBP | KES | monthly | 174.3866 |
|
|
114
|
+
|
|
115
|
+
</details>
|
|
116
|
+
|
|
117
|
+
[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/tax-authority-rates-api/hmrc/). Rates are as printed by the tax authority; AllRatesToday is not affiliated with it.
|
|
50
118
|
<!-- daily-table:end -->
|
|
51
119
|
|
|
52
120
|
## ๐ฆ Installation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/hmrc-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.17",
|
|
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",
|