@allratestoday/bazg-exchange-rate 1.3.6 โ†’ 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 +75 -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%2Fbazg-exchange-rate.svg)](https://github.com/AllRates-Today/bazg-exchange-rate/blob/main/LICENSE)
5
5
  [![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](https://www.npmjs.com/package/@allratestoday/bazg-exchange-rate)
6
6
  [![TypeScript](https://img.shields.io/badge/TypeScript-types%20included-3178C6.svg)](https://www.typescriptlang.org/)
7
+ [![EUR/CHF today](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fallratestoday.com%2Fapi%2Fopen%2Fcentral-bank%2Fbazg%3Fsource%3DEUR%26target%3DCHF&query=%24.rate&label=EUR%2FCHF%20published%20by%20Swiss%20Federal%20Office%20for%20Customs%20and%20Border%20Security&color=0A7E8C&cacheSeconds=3600)](https://allratestoday.com/tax-authority-rates-api/bazg/)
8
+ [![rate date](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fallratestoday.com%2Fapi%2Fopen%2Fcentral-bank%2Fbazg%3Fsource%3DEUR%26target%3DCHF&query=%24.rate_date&label=rate%20date&color=555&cacheSeconds=3600)](https://allratestoday.com/tax-authority-rates-api/bazg/)
7
9
 
8
10
  **Official Swiss Federal Office for Customs and Border Security (Switzerland) daily 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 Swiss Federal Office for Customs and Border Security itself prints, every business day.**
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 Swiss Federal Office for Customs and Border Security 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-09** by Swiss Federal Office for Customs and Border Security โ€” 144 rates, first 60 shown. Updated 2026-10-08.
44
+
45
+ | Base | Quote | Type | Rate |
46
+ | --- | --- | --- | ---: |
47
+ | AED | CHF | monthly_average | 0.223808 |
48
+ | AED | CHF | reference | 0.2290041 |
49
+ | ALL | CHF | monthly_average | 0.010393 |
50
+ | ALL | CHF | reference | 0.0103054 |
51
+ | ARS | CHF | monthly_average | 0.0005 |
52
+ | ARS | CHF | reference | 0.00056 |
53
+ | AUD | CHF | monthly_average | 0.5882 |
54
+ | AUD | CHF | reference | 0.58589 |
55
+ | AZN | CHF | monthly_average | 0.4833 |
56
+ | AZN | CHF | reference | 0.49469 |
57
+ | BAM | CHF | monthly_average | 0.486391 |
58
+ | BAM | CHF | reference | 0.4819336 |
59
+ | BDT | CHF | monthly_average | 0.006724 |
60
+ | BDT | CHF | reference | 0.006872 |
61
+ | BHD | CHF | monthly_average | 2.1912 |
62
+ | BHD | CHF | reference | 2.24271 |
63
+ | BRL | CHF | monthly_average | 0.160109 |
64
+ | BRL | CHF | reference | 0.1675318 |
65
+ | CAD | CHF | monthly_average | 0.5914 |
66
+ | CAD | CHF | reference | 0.58996 |
67
+ | CLP | CHF | monthly_average | 0.0008762 |
68
+ | CLP | CHF | reference | 0.0008609 |
69
+ | CNY | CHF | monthly_average | 0.122449 |
70
+ | CNY | CHF | reference | 0.1254889 |
71
+ | COP | CHF | monthly_average | 0.00026105 |
72
+ | COP | CHF | reference | 0.000262065 |
73
+ | CRC | CHF | monthly_average | 0.0018244 |
74
+ | CRC | CHF | reference | 0.00184815 |
75
+ | CZK | CHF | monthly_average | 0.039265 |
76
+ | CZK | CHF | reference | 0.0386331 |
77
+ | DKK | CHF | monthly_average | 0.127183 |
78
+ | DKK | CHF | reference | 0.1260621 |
79
+ | DOP | CHF | monthly_average | 0.014178 |
80
+ | DOP | CHF | reference | 0.014265 |
81
+ | DZD | CHF | monthly_average | 0.00623 |
82
+ | DZD | CHF | reference | 0.0063205 |
83
+ | EGP | CHF | monthly_average | 0.016083 |
84
+ | EGP | CHF | reference | 0.016067 |
85
+ | ETB | CHF | monthly_average | 0.005063 |
86
+ | ETB | CHF | reference | 0.0051955 |
87
+ | EUR | CHF | monthly_average | 0.9507 |
88
+ | EUR | CHF | reference | 0.94223 |
89
+ | GBP | CHF | monthly_average | 1.1085 |
90
+ | GBP | CHF | reference | 1.1114 |
91
+ | GEL | CHF | monthly_average | 0.319302 |
92
+ | GEL | CHF | reference | 0.3281022 |
93
+ | GTQ | CHF | monthly_average | 0.110533 |
94
+ | GTQ | CHF | reference | 0.1137286 |
95
+ | HKD | CHF | monthly_average | 0.104786 |
96
+ | HKD | CHF | reference | 0.1071307 |
97
+ | HNL | CHF | monthly_average | 0.031114 |
98
+ | HNL | CHF | reference | 0.0320916 |
99
+ | HUF | CHF | monthly_average | 0.0026132 |
100
+ | HUF | CHF | reference | 0.00257889 |
101
+ | IDR | CHF | monthly_average | 0.00004646 |
102
+ | IDR | CHF | reference | 0.000047069 |
103
+ | ILS | CHF | monthly_average | 0.2735 |
104
+ | ILS | CHF | reference | 0.27494 |
105
+ | INR | CHF | monthly_average | 0.008621 |
106
+ | INR | CHF | reference | 0.0086905 |
107
+
108
+ [Full table on the Swiss Federal Office for Customs and Border Security rates page](https://allratestoday.com/tax-authority-rates-api/bazg/) ยท Source: [Official rates published by BAZG, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/bazg/). 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allratestoday/bazg-exchange-rate",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "Official Swiss Federal Office for Customs and Border Security (Switzerland) daily exchange rates โ€” 73 currencies vs CHF, history since 2000. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "bazg",