frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Every invoice in Brazil's economy runs on SOAP 1.2. We mapped it all

https://github.com/stoix-dev/sefaz-webservices-postman
20•lestx•2d ago

Comments

lestx•2d ago
Brazil runs the largest mandatory e-invoicing system on Earth. Every invoice, every truckload, every retail receipt in a $2T economy passes through government SOAP 1.2 webservices. In 2026.

Want to integrate? The documentation is four PDF manuals totaling over 1,000 pages, spread across different portals, with critical details that are simply not written anywhere. Two examples we paid for in hours of debugging: the freight document (CT-e) and the manifest (MDF-e) implement the same distribution spec with incompatible envelopes (one wraps the payload and requires an author state code, the other rejects that field and wants the state code in the SOAP header). And the SOAP action must travel inside the Content-Type header; send a SOAPAction header like every SOAP tutorial on the internet tells you to, and the server refuses you without explaining why.

So we mapped all 29 webservices across the 4 document models into one Postman collection: ready-to-fire envelopes, per-host mTLS certificate setup documented, and the distribution services validated against the production government endpoints, not just written from the manuals.

Where you can make it better: Brazil has 27 states and several run their own authorizer URLs (Sao Paulo's retail invoices, for one). We cover the shared authorizer plus the national environment; state-specific URL mappings are the top open contribution. The collection is generated from a Python inventory file, so a PR is a 5-line diff, not JSON surgery.

Docs in Portuguese (the devs suffering with this are Brazilian), but I'll answer anything here in English.

kstrauser•13m ago
So, first up: why? Why is everything still using SOAP? I'm not talking down on Brazil, by the way. I've worked in American healthcare tech, and at some point you find yourself learning EDI to talk to insurance companies.
juusto•10m ago
Great job. Are there any interesting facts or anecdotes you found while perusing content?
tclancy•8m ago
It’s been a long time since I had to work in SOAP. Does https://soapy.sourceforge.net/ atill work? That would make things easier to automate if so. This is awesome work.

iOS 27, iPadOS 27, and macOS 27

https://www.apple.com/newsroom/2026/09/major-updates-for-apples-software-platforms-are-now-availa...
472•throw0101d•10h ago•516 comments

4,400-Year-Old Tomb of Egyptian Judge Found at Saqqara with Colors on Walls

https://arkeonews.net/4400-year-old-tomb-of-an-egyptian-judge-found-at-saqqara-with-colors-still-...
62•arunbahl•2d ago•8 comments

Pion, an agent designed to run any company autonomously

https://andonlabs.com/blog/why-we-built-pion
330•lukaspetersson•11h ago•365 comments

Charts built for Chat

https://dbtcharts.com/blog/charts-built-for-chat/
152•thingsilearned•7h ago•47 comments

Every invoice in Brazil's economy runs on SOAP 1.2. We mapped it all

https://github.com/stoix-dev/sefaz-webservices-postman
23•lestx•2d ago•6 comments

Show HN: Macros with a Behringer FCB1010 MIDI Pedalboard in macOS

https://github.com/JamesRyanATX/fcbnerd
48•fretlessjazz•5h ago•9 comments

Dropping eBPF CPU Cost by About 90% with Memoization (Not AI Gen)

https://nathannaveen.dev/posts/dropping-ebpf-cpu-cost-by-90/
67•nathannaveen•14h ago•18 comments

XCancel service is suspended until further notice

https://xcancel.com/#
523•gaganyaan•18h ago•814 comments

OpenAI bots knew about the RubyGems caching vulnerability

https://tenderlovemaking.com/2026/09/11/what-a-time-to-be-alive/
408•gregnavis•15h ago•334 comments

Distributed Systems Classics (2017)

https://nvartolomei.com/dist-sys-classics/
256•grep_it•12h ago•58 comments

Compressing a Flag to 11 Bits

https://read.vantezzen.io/miniflags
95•bennett_dev•2d ago•43 comments

The biggest dinosaurs couldn't sit on their eggs

https://www.cbc.ca/news/science/titanosaur-eggs-9.7336841
25•BiraIgnacio•1d ago•7 comments

Principles for Fast Tokio Applications

https://dial9-rs.github.io/blog/principles-for-fast-tokio-applications/
183•carllerche•13h ago•45 comments

Oil Executives Say the Great Fuel Crisis Is Here

https://www.wsj.com/business/energy-oil/oil-executives-say-the-great-fuel-crisis-is-here-b6b32030
29•toomuchtodo•49m ago•14 comments

Show HN: Redis City – Explore how Redis works in an interactive 3D model

https://poltora.dev/redis
15•poltora•2d ago•3 comments

Steam Frame starts at $1059

https://store.steampowered.com/hardware/steamframe
575•bsimpson•11h ago•434 comments

How my e-reader lost its stripes

https://www.serpentine.com/posts/2026/x3-stripes/
170•simonmic•12h ago•28 comments

Ask HN: What are you working on? (September 2026)

311•david927•1d ago•968 comments

Why don't machine learning research agents overfit?

https://www.amazon.science/blog/why-dont-machine-learning-research-agents-overfit
112•Betelbuddy•12h ago•63 comments

Cloudflare AKE cuts origin HelloRetryRequests from 52% to 3.7%

https://blog.cloudflare.com/automatic-key-exchange-for-origins/
98•iamsyr•11h ago•26 comments

Ex-FTC boss Khan: break out the handcuffs for AI CEOs, citing 1934 precedent

https://www.theregister.com/ai-and-ml/2026/09/14/ex-ftc-boss-khan-urges-uncle-sam-to-break-out-th...
90•throwworhtthrow•3h ago•45 comments

People who can't picture anything are rewriting the science of imagination

https://dailyneuron.com/aphantasia-mental-imagery-brain-network/
121•giuliomagnifico•15h ago•191 comments

Optimizing a Spin-Lock

https://david.alvarezrosa.com/posts/optimizing-a-spin-lock/
52•signa11•2d ago•26 comments

A Beginning for Mathematics

https://www.daniellitt.com/blog/2026/9/13/a-beginning-for-mathematics/
184•robinhouston•13h ago•106 comments

Backprop Alternative: Augmented Lagrangian Predictive Coding

https://pub.sakana.ai/pc-alm/
61•guld•10h ago•13 comments

Amazon vs. Perplexity – U.S. Court of Appeals for the Ninth Circuit

https://law.justia.com/cases/federal/appellate-courts/ca9/26-1444/26-1444-2026-08-04.html
189•neom•7h ago•194 comments

Cua (YC P25) Is Hiring a Founding Technical GTM Lead

https://www.ycombinator.com/companies/cua/jobs/1IWEKVH-founding-technical-gtm-lead
1•frabonacci•11h ago

Notes on gotchas while migrating 35kb preprompts from Opus to self-hosted Ollama

https://patrickmccanna.net/notes-on-migrating-large-prompts-away-from-anthropic-openai-to-self-ho...
124•0o_MrPatrick_o0•14h ago•68 comments

Dario, Please

https://pop.rdi.sh/dario-please/
359•0x5FC3•13h ago•174 comments

Ubuntu 26.10 completes transition to Rust-based coreutils

https://www.omgubuntu.co.uk/2026/09/ubuntu-2610-rust-coreutils-complete
109•theanonymousone•14h ago•96 comments