sepa_rator 1.1.0 → 1.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dfad7d3d0bdc0746f73ef52cdda9f0963449b3fb8011fc7cbc8517ff7c2ce3af
4
- data.tar.gz: b6f0ec529bec02449479008d60583873b7d606e027dbb226da95527c2e5eeb3a
3
+ metadata.gz: 142a5f6d6bff2b0355c10149b9654e20f2754b73db9ba049191c00dd5571e370
4
+ data.tar.gz: 34979be8d246b1e4dbcbb4ac8e0e9d6852a7b5406b76bd171838bb4a16f55b5f
5
5
  SHA512:
6
- metadata.gz: 92b5682bc566140730448a99a27e09307fdef78bc1a7241aa29570fc05d66a035d0a11b51f41bebb82ca74cf0e48fbee10535e692f7cca6b4722fa83b0160b50
7
- data.tar.gz: 7d4015b5109e027a038f772299e4ab97d50d21caf59521559640fae1f49c37d23c9c30e0375c954667abf11b5fe6f051c0a0611d62f130d4b6d8141a8384762a
6
+ metadata.gz: ee2885d89f417ff31bf9ee8ebe692ba5aaddd5533cc129b995d039f2727447e47f4e62ad7867ad1d34f53a5f8f4a4c5f61c3168f5050cd0c194ec435c6b68d05
7
+ data.tar.gz: 4f0cd2f5f693efbbb91decb08384d54b6e9b97580ba01f9921a5ff8513c199a44445f7365e91cd1dd80f28c50280a394b8f8638b493a7b86d7e5d8f6ea31c483
data/README.md CHANGED
@@ -8,10 +8,8 @@ national variants (CFONB for France, DK/DFÜ for Germany, …) first-class.
8
8
 
9
9
  ## Features
10
10
 
11
- - **Credit Transfer** (`pain.001`) schemas `.001.13`, `.001.09`, `.003.03`, `.002.03`, `.001.03`
12
- - **Direct Debit** (`pain.008`)schemas `.001.12`, `.001.08`, `.003.02`, `.002.02`, `.001.02`
13
- - **National profiles** — `CFONB` (🇫🇷), `DK/DFÜ` (🇩🇪), generic `EPC` SEPA
14
- - Resolves the right profile from a simple `country: :fr` hint
11
+ - **Credit Transfer** (`pain.001`) and **Direct Debit** (`pain.008`) across 7 profile families (see table below)
12
+ - Resolves the right profile from a simple `country: :fr` hint falls back to generic EPC for unlisted countries
15
13
  - Full XSD validation on every generated XML
16
14
  - Postal addresses, contact details, LEI, regulatory reporting
17
15
  - Flexible charge bearer (SLEV, DEBT, CRED, SHAR)
@@ -19,6 +17,20 @@ national variants (CFONB for France, DK/DFÜ for Germany, …) first-class.
19
17
 
20
18
  **pain** = **Pa**yment **In**itiation (ISO 20022).
21
19
 
20
+ ## Supported schemas & profiles
21
+
22
+ | Family | Namespace | Country hint | Credit Transfer (pain.001) | Direct Debit (pain.008) |
23
+ |---|---|---|---|---|
24
+ | ISO (raw XSD) | `Profiles::ISO` | — | `SCT_03`, `SCT_09`, `SCT_13`, `SCT_EPC_002_03`, `SCT_EPC_003_03` | `SDD_02`, `SDD_08`, `SDD_12`, `SDD_EPC_002_02`, `SDD_EPC_003_02` |
25
+ | EPC SEPA | `Profiles::EPC` | _(SEPA fallback)_ | `SCT_03`, `SCT_09`, `SCT_13` | `SDD_02`, `SDD_08`, `SDD_12` |
26
+ | CFONB 🇫🇷 | `Profiles::CFONB` | `country: :fr` | `SCT_03`, `SCT_09`, `SCT_13` | `SDD_02`, `SDD_08`, `SDD_12` |
27
+ | DK / DFÜ 🇩🇪 | `Profiles::DK` | `country: :de` | `SCT_03_GBIC3`, `SCT_09_GBIC5`, `SCT_13_GBIC5` | `SDD_02_GBIC3`, `SDD_08_GBIC5`, `SDD_12_GBIC5` |
28
+ | SPS 🇨🇭 | `Profiles::SPS` | `country: :ch` | `SCT_03`, `SCT_09`, `SCT_13` | `SDD_02`, `SDD_08`, `SDD_12` |
29
+ | GB 🇬🇧 | `Profiles::GB` | `country: :gb` | `SCT_03`, `SCT_09`, `SCT_13` | `SDD_02`, `SDD_08`, `SDD_12` |
30
+ | AT / PSA 🇦🇹 | `Profiles::AT` | `country: :at` | `SCT_03`, `SCT_09`, `SCT_13` | `SDD_02`, `SDD_08`, `SDD_12` |
31
+
32
+ For the full per-profile detail (XSD, constraints, capabilities), see [DOCUMENTATION.md](DOCUMENTATION.md#supported-profiles-and-schemas). Adding a new country is a single file in `lib/sepa_rator/profiles/` plus entries in `lib/sepa_rator/profiles/country_defaults.rb`.
33
+
22
34
  ## Requirements
23
35
 
24
36
  - Ruby 3.2+
@@ -151,18 +163,6 @@ SEPA::CreditTransfer.new(
151
163
  `profile:` is mutually exclusive with `country:` / `version:` — passing
152
164
  both raises `ArgumentError`.
153
165
 
154
- ## Supported profiles
155
-
156
- | Family | Namespace | Profiles |
157
- |---------------------|------------------|----------------------------------------------------------------------------------------------------------------------------------------|
158
- | ISO (raw XSD) | `Profiles::ISO` | `SCT_03`, `SCT_09`, `SCT_13`, `SCT_EPC_002_03`, `SCT_EPC_003_03`, `SDD_02`, `SDD_08`, `SDD_12`, `SDD_EPC_002_02`, `SDD_EPC_003_02` |
159
- | EPC SEPA | `Profiles::EPC` | `SCT_09`, `SCT_13`, `SDD_08`, `SDD_12` |
160
- | CFONB (France 🇫🇷) | `Profiles::CFONB` | `SCT_09`, `SCT_13`, `SDD_08`, `SDD_12` |
161
- | DK / DFÜ (Germany 🇩🇪) | `Profiles::DK` | `SCT_09_GBIC5`, `SCT_13_GBIC5`, `SDD_08_GBIC5`, `SDD_12_GBIC5` |
162
-
163
- Adding a new country is a single file in `lib/sepa_rator/profiles/` plus
164
- entries in `lib/sepa_rator/profiles/country_defaults.rb`.
165
-
166
166
  ## Reusing validators
167
167
 
168
168
  ```ruby
@@ -194,6 +194,8 @@ See [CHANGELOG.md](CHANGELOG.md).
194
194
  - [EPC rulebooks](https://www.europeanpaymentscouncil.eu/document-library)
195
195
  - [CFONB guides](https://www.cfonb.org/espaces-telechargements/documents)
196
196
  - [EBICS / DK data formats](https://www.ebics.de/de/datenformate)
197
+ - [Swiss Payment Standards (SIX)](https://www.six-group.com/en/products-services/banking-services/payment-standardization/standards/iso-20022.html)
198
+ - [Bank of England ISO 20022 handbook](https://www.bankofengland.co.uk/payment-and-settlement/rtgs-renewal-programme/iso-20022-handbook)
197
199
 
198
200
  ## License
199
201