Package an e-invoice for audit-proof archiving
format.halowerk.com/v1/einvoice-archive-pack
Package an e-invoice for audit-proof archiving: XML, KoSIT validation report, SHA-256 manifest and metadata in one ZIP. Validates the invoice with the KoSIT validator and builds a ZIP containing the unchanged invoice XML, the full validator report XML, a manifest.json with SHA-256 hashes of both files, the validator version, the validation time and the key invoice data (number, dates, seller, buye
POST
https://format.halowerk.com/v1/einvoice-archive-packUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://format.halowerk.com/v1/einvoice-archive-pack", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"xml":"<?xml version=\"1.0\" encoding=\"UTF-8\"?><Invoice xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\">…</Invoice>"}),
});
console.log(await res.json());Example input
{
"xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Invoice xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\">…</Invoice>"
}