Skip to main content

Crate fatoora_core

Crate fatoora_core 

Source
Expand description

Rust toolkit for ZATCA Phase 1/2 e-invoicing (CSR, signing, validation, QR, and API).

§Examples

use fatoora_core::config::{Config, EnvironmentType};

let config = Config::new(EnvironmentType::NonProduction);

Modules§

api
ZATCA HTTP API client and response types.
config
Configuration and environment selection.
csr
CSR generation and helpers.
invoice
Invoice domain types and builders.

Structs§

Error
Unified error type for the core library.

Enums§

ErrorKind
Stable error kinds used across the core and FFI layers.