Skip to content

v1.8.0 — SAP + SAF-T export (DS 4.4.3 / API 4.4)

Latest

Choose a tag to compare

@mivertowski mivertowski released this 23 Apr 06:50
· 4 commits to main since this release

Adopts DataSynth 4.4.3 + VynFi API 4.4. SAP Integration Pack and SAF-T export both live end-to-end; 6 of 8 DS 4.4.x baseline fixes picked up. Verified against the production API — see docs/ds-4.4.3-verification.md for the scorecard.

New resources

SapExportConfig (Scale+)

Typed helper for output.sap. Defaults: HANA dialect, client 200, ledger 0L, source system DATASYNTH, portal-default 8-table set. Serialise with .to_dict().

SaftExportConfig (Scale+)

Typed helper for output.saft. Jurisdictions pt / pl / ro / no / lu; optional company_tax_id / company_name.

JobArchive readers

  • sap_tables() — lowercase stems of CSVs in sap_export/
  • sap_table(name) — raw CSV bytes (UTF-8 BOM preserved)
  • sap_table_dataframe(name) — pandas DataFrame with HANA dialect handling
  • saft_file(jurisdiction) — raw XML bytes (tries root first, falls back to saft/)
  • coa_meta() — DS 4.4.1's chart_of_accounts_meta.json sidecar

Constants

  • SAP_DEFAULT_TABLES — 8 portal-default SAP tables
  • SAP_ALL_TABLES — 27+ superset

Live-verified signals

Signal Live
SAP sap_export/ 27 CSVs, BSEG→BKPF FK clean
SAF-T saft_pt.xml 3.0–3.9 MB
is_fraud_propagated 15.6 %
AML typology coverage 1.000
DocRef.from_type 443/443 populated
ShellLink share 0.9 %
chart_of_accounts_meta.json present
data_quality_stats.total_records populated

Still pending upstream (v1.8.1 target)

  • AML customer risk_level (0/620 populated)
  • OCEL object_refs.object_type (0/753 populated)

Both are field-null fills; the underlying values exist as risk_tier and object_type_id.

Examples

Full changelog: CHANGELOG.md