Skip to content
Fourohtwo

hcrb.in/v1/modules/compliance/einvoice-transform

Code402 / HCRB Peppol BIS Billing 3.0 UBL 2.1 XML & ISO 20022 structured address converter. Convert and validate JSON B2B electronic invoice data in-RAM into schema-valid Peppol BIS Billing 3.0 UBL 2.1 XML and ISO 20022 structured address format.

BasePolygonUnchecked
POSThttps://hcrb.in/v1/modules/compliance/einvoice-transform

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://hcrb.in/v1/modules/compliance/einvoice-transform", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"currency":"EUR","net_amount":1000,"supplier_country":"NO","supplier_name":"EQUINOR ASA","supplier_vat_or_lei":"NO971036081MVA"}),
});
console.log(await res.json());

Example input

{
  "currency": "EUR",
  "net_amount": 1000,
  "supplier_country": "NO",
  "supplier_name": "EQUINOR ASA",
  "supplier_vat_or_lei": "NO971036081MVA"
}