Expand description
C ABI. Python binds here via ctypes. WASM is the model crate, not this cdylib.
Functionsยง
- core_
invoice_ convert - Convert through the semantic model.
toisublorcii. On success writes XML intoout(NUL-terminated). Same 0/1/2 as CLI convert. - core_
invoice_ diff - Semantic diff. 0 identical, 1 differ, 2 unreadable. Writes the report into
out. - core_
invoice_ validate - Same as
core_invoice_validate_ubl: syntax is the document element (UBL or CII). - core_
invoice_ validate_ ubl - 0 valid, 1 invalid, 2 unreadable / bad args. Same contract as the CLI.
- core_
invoice_ version - Writes crate version into
out. Always 0 unlessoutis null (2).