amend readme
This commit is contained in:
parent
170b2d2016
commit
90dc37cafc
18
README.md
18
README.md
@ -1,7 +1,7 @@
|
||||
# Firefly Import Preprocessor - Dokumentation
|
||||
|
||||
**Version:** 1.0.0
|
||||
**Datum:** 10. Dezember 2025
|
||||
**Datum:** 02. May 2026
|
||||
**Status:** Production Ready
|
||||
|
||||
---
|
||||
@ -117,7 +117,7 @@ php bin/transformer.php validate config/config.json input.csv
|
||||
Output:
|
||||
```
|
||||
✓ CSV ist valid
|
||||
IBAN: CH9300762011623852957
|
||||
IBAN: CH9300777222666888999
|
||||
Währung: CHF
|
||||
Zeilen: 150
|
||||
```
|
||||
@ -180,8 +180,8 @@ php bin/transformer.php test config/config.json input.csv --debug
|
||||
|
||||
**Beispiel Regex:**
|
||||
- Pattern: `IBAN:\s*([A-Z0-9 ]+)`
|
||||
- Input: `IBAN: CH93 0076 2011 6238 5295 7`
|
||||
- Capture Group 1: `CH93 0076 2011 6238 5295 7`
|
||||
- Input: `IBAN: CH93 0077 2020 6262 5252 7`
|
||||
- Capture Group 1: `CH93 0077 2020 6262 5252 7`
|
||||
|
||||
#### `csvStructure` - CSV-Format
|
||||
|
||||
@ -390,9 +390,9 @@ Ersetzt Teile des Strings per regulärem Ausdruck. Nutzt PHP `preg_replace`.
|
||||
```
|
||||
|
||||
**Beispiel — mit Match:**
|
||||
- Input: `Friis, Daniela Silvia; Zahlung UBS TWINT`
|
||||
- Input: `Meier, Anna; Zahlung UBS TWINT`
|
||||
- Pattern: `^(.*?);.*$`, Replace: `$1`
|
||||
- Output: `Friis, Daniela Silvia`
|
||||
- Output: `Meier, Anna`
|
||||
|
||||
**Beispiel — kein Match (pass-through):**
|
||||
- Input: `Coop Pronto Chur` (kein Semikolon)
|
||||
@ -501,7 +501,7 @@ Nutzt extrahierte Metadaten als konstanten Wert.
|
||||
|
||||
**Beispiel:**
|
||||
- metadataKey: `account_iban` (aus Extraktion)
|
||||
- Wert: `CH9300762011623852957`
|
||||
- Wert: `CH9300777222666888999`
|
||||
- Jede Zeile erhält diesen Wert in neuer Spalte
|
||||
|
||||
---
|
||||
@ -620,7 +620,7 @@ php bin/transformer.php validate config/config.json input.csv
|
||||
```
|
||||
✓ CSV ist valid
|
||||
Zeilen: 245
|
||||
IBAN: CH9300762011623852957
|
||||
IBAN: CH9300777222666888999
|
||||
Währung: CHF
|
||||
```
|
||||
|
||||
@ -784,7 +784,7 @@ docker-compose up -d firefly-importer
|
||||
"accounts": [
|
||||
{
|
||||
"name": "UBS Checking",
|
||||
"iban": "CH9300762011623852957",
|
||||
"iban": "CH9300777222666888999",
|
||||
"account_type": "asset"
|
||||
}
|
||||
],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user