sepa_rator 1.1.0 → 1.3.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: 8f5c4d4ba498a51346375639632710641e3155d6ae580f6b20a830970cc16b91
4
+ data.tar.gz: 340692a742d81be85dd1c46568269192a04f05f6ca63a9cf0ce270a28c3873e4
5
5
  SHA512:
6
- metadata.gz: 92b5682bc566140730448a99a27e09307fdef78bc1a7241aa29570fc05d66a035d0a11b51f41bebb82ca74cf0e48fbee10535e692f7cca6b4722fa83b0160b50
7
- data.tar.gz: 7d4015b5109e027a038f772299e4ab97d50d21caf59521559640fae1f49c37d23c9c30e0375c954667abf11b5fe6f051c0a0611d62f130d4b6d8141a8384762a
6
+ metadata.gz: bf92825685748b1537816192e43049895c61d460891ec3dcb151fa1d85aa126b6660c75292336e1f1d73f0b453d9e6424e7f1381b74ae10588b69bc320226c16
7
+ data.tar.gz: 896146e071e0be2f864156b5b8241307f47dac1848e25910e4691933fe948e47de40b597038a3bfeb918c958d07c8bb963e5b66a5fdd29d203cc8f0016062376
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,21 @@ 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
+ | NL 🇳🇱 | `Profiles::NL` | `country: :nl` | `SCT_03`, `SCT_09`, `SCT_13` | `SDD_02`, `SDD_08`, `SDD_12` |
32
+
33
+ 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`.
34
+
22
35
  ## Requirements
23
36
 
24
37
  - Ruby 3.2+
@@ -151,18 +164,6 @@ SEPA::CreditTransfer.new(
151
164
  `profile:` is mutually exclusive with `country:` / `version:` — passing
152
165
  both raises `ArgumentError`.
153
166
 
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
167
  ## Reusing validators
167
168
 
168
169
  ```ruby
@@ -194,6 +195,8 @@ See [CHANGELOG.md](CHANGELOG.md).
194
195
  - [EPC rulebooks](https://www.europeanpaymentscouncil.eu/document-library)
195
196
  - [CFONB guides](https://www.cfonb.org/espaces-telechargements/documents)
196
197
  - [EBICS / DK data formats](https://www.ebics.de/de/datenformate)
198
+ - [Swiss Payment Standards (SIX)](https://www.six-group.com/en/products-services/banking-services/payment-standardization/standards/iso-20022.html)
199
+ - [Bank of England ISO 20022 handbook](https://www.bankofengland.co.uk/payment-and-settlement/rtgs-renewal-programme/iso-20022-handbook)
197
200
 
198
201
  ## License
199
202