kassane/acbr_ffi — explained in plain English
Analysis updated 2026-07-18 · repo last pushed 2023-10-02
Emit a Brazilian NF-e electronic invoice automatically every time a sale closes in a point-of-sale app.
Add fiscal document generation to an ERP system without reimplementing Brazilian tax rules.
Call ACBrLib's invoicing and digital signature features from a Zig or C service.
| kassane/acbr_ffi | alichraghi/mach-dusk | alichraghi/mach-glfw-vulkan-example | |
|---|---|---|---|
| Language | Zig | Zig | Zig |
| Last pushed | 2023-10-02 | 2024-02-24 | 2023-08-11 |
| Maintenance | Dormant | Dormant | Dormant |
| Setup difficulty | hard | hard | moderate |
| Complexity | 3/5 | 4/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires ACBrLib to be installed separately, it does not work as a standalone download.
This project helps developers in Brazil generate and manage electronic invoices, known as NF-e (Nota Fiscal Eletrônica). Brazilian businesses are legally required to issue these digital tax documents for sales and services. The repo provides thin bindings so programs written in C or Zig can talk to ACBrLib, a widely used library that handles the complex rules and formatting that Brazilian tax authorities require. At its core, this is a bridge layer. ACBrLib itself does the heavy lifting, it knows how to build invoice XML files, apply digital signatures, and communicate with government web services. This repo simply wraps that functionality so you can call it from languages that aren't natively supported by the original ACBr Project, which was built primarily for Delphi. You initialize the library, call functions, and ACBr handles the tax compliance details. The target audience is a developer building invoicing, ERP, or point-of-sale software for the Brazilian market. If you're writing a checkout system in Zig, or a lightweight C service that needs to emit a fiscal document, this lets you tap into ACBr without rewriting the entire fiscal logic yourself. A concrete scenario: a small retail app needs to send an NF-e to the state tax authority every time a sale closes, this project is one piece of that pipeline. One thing to note: the project depends on ACBrLib being installed separately, so it won't work as a standalone download. It's also fairly minimal in scope, the README shows basic initialization and doesn't document the full range of invoice operations. The Zig implementation appears to be the main focus, with C as a secondary target, both demonstrated through simple example files.
Thin C/Zig bindings for ACBrLib that let developers generate Brazilian electronic tax invoices (NF-e) without rewriting the compliance logic themselves.
Mainly Zig. The stack also includes Zig, C.
Dormant — no commits in 2+ years (last push 2023-10-02).
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.