Sign in

    ofdx

    OFD fixed-layout document reader library for MoonBit.

    ofd
    invoice
    cli
    wasm
    Download zip
    Author
    Version
    0.1.0
    License
    Apache-2.0
    Last updated
    3 months ago
    Downloads
    36

    #colmugx/ofdx

    OFD 版式文档执行工具,提供 runwasm / JS / native 三端可用的命令行入口。

    #用法

    moon runwasm colmugx/ofdx invoice <file.ofd>

    #Subcommands

    #invoice

    解析 OFD 增值税电子发票,输出结构化 JSON。

    ofdx invoice <file.ofd>

    CliResponse

    pub(all) struct CliResponse {
    exit_code : Int
    stdout : String
    stderr : String
    }

    dispatch

    fn dispatch(args : ArrayView[String]) -> CliResponse

    version

    fn version() -> String

    Source Files