diff options
| author | Anders Betts <anders.betts@gmail.com> | 2026-09-18 21:35:10 +0200 |
|---|---|---|
| committer | Anders Betts <anders.betts@gmail.com> | 2026-09-18 21:35:10 +0200 |
| commit | 251eb8c54c77029f0b43aa987ea50c44016147f3 (patch) | |
| tree | 2bf4284ce2daab191d48579a6c5a84882060d398 /src/reports.h | |
| parent | 64c0d5d79b31dafcbdb68ff938a92bd6f136d4a7 (diff) | |
| download | bokf-0.1.28.tar.gz bokf-0.1.28.zip | |
eskd: generate the momsdeklaration file (eSKDUpload 6.0)v0.1.28
report.vat_eskd builds the ISO-8859-1 XML from report.vat: whole
kronor with öre truncated like the blankett, box 48 positive as filed,
MomsBetala computed from the whole-krona boxes, and an optional
upplysning converted from UTF-8, XML-escaped and capped at 300
characters. The TUI momsrapport gains "s = spara eSKD", prompting for a
path and writing the bytes verbatim.
Verified against the FY2027 Kapitas report: 05=703200, 10=175800,
20=1453, 30=851, 48=1030, 49=175621.
Diffstat (limited to 'src/reports.h')
| -rw-r--r-- | src/reports.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/reports.h b/src/reports.h index d4a0545..c4a6e4e 100644 --- a/src/reports.h +++ b/src/reports.h @@ -26,5 +26,9 @@ yyjson_mut_val *report_general_ledger(yyjson_mut_doc *doc, sqlite3 *db, yyjson_mut_val *report_voucher_list(yyjson_mut_doc *doc, sqlite3 *db, int64_t org_id, int64_t fy_id, const char *series, char **err); +yyjson_mut_val *report_vat_eskd(yyjson_mut_doc *doc, sqlite3 *db, + int64_t org_id, const char *from, + const char *to, const char *upplysning, + char **err); #endif |
