diff options
| author | Anders Betts <anders.betts@gmail.com> | 2026-09-17 23:02:41 +0200 |
|---|---|---|
| committer | Anders Betts <anders.betts@gmail.com> | 2026-09-17 23:02:41 +0200 |
| commit | 2a98cce8434f7ea27f777d9e6422a1eb92ba8be7 (patch) | |
| tree | ac380bc2e3e64f73adac50fbb63a7cbf1348e417 /docs/PROTOCOL.md | |
| parent | 0241122e05ac0bd174d4ec43a5882397c146aa89 (diff) | |
| download | bokf-2a98cce8434f7ea27f777d9e6422a1eb92ba8be7.tar.gz bokf-2a98cce8434f7ea27f777d9e6422a1eb92ba8be7.zip | |
sie: import CRLF, #RAR 0, zero rows; skip #IB with prior historyv0.1.6
- tokenizer treats CR as whitespace; closing brace matches with CRLF
- only #RAR with year indicator 0 selects the fiscal year
- zero-amount #TRANS rows are dropped instead of violating the schema
- #IB becomes an IB voucher only when the year has no earlier history
Diffstat (limited to 'docs/PROTOCOL.md')
| -rw-r--r-- | docs/PROTOCOL.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/PROTOCOL.md b/docs/PROTOCOL.md index 25c9250..f3d7cac 100644 --- a/docs/PROTOCOL.md +++ b/docs/PROTOCOL.md @@ -374,7 +374,7 @@ All reports are pure reads, respect locks, and return JSON rows. Amounts are | Command | Args | Result | |---|---|---| | `sie.export` | `fiscal_year`, `inline?` | by default writes `<export_dir>/<org>_<fy>.se` and returns `path`, `sha256`, `size`; `inline:true` also returns `content_base64` | -| `sie.import` | `content_base64` or `path`, `dry_run?` | creates missing accounts and posts #VER as `source:"sie_import"`; only into an empty org fiscal year | +| `sie.import` | `content_base64` or `path`, `dry_run?` | one file per call; creates missing accounts and posts #VER as `source:"sie_import"`; only into an empty org fiscal year; `#IB` becomes an `IB` voucher when the year has no earlier history, otherwise the earlier vouchers carry the balances | SIE 4 files are written in CP437 with PC8 format, `#SIETYP 4`, `#FNR`, `#ORGNR`, `#KONTO`, `#IB`, `#UB`, `#RES`, `#VER`, `#TRANS`. Import is the migration path |
