Einvoice Codelists
by format.halowerk.com in Markets & finance
Check or look up EN 16931 e-invoice code values (units, VAT categories, payment means, EAS, ICD, VATEX, currencies and more) against the official EU code lists valid on a date. Uses the European Commission code lists for EN 16931 (genericode), version 17 (valid 2026-05-15 to 2026-11-14) and version 18 (valid from 2026-11-15), selected by the date you give (default today).
https://format.halowerk.com/v1/einvoice-codelists- Price
- $0.002
- per call in USDC
- Uptime
- 95.8%
- last 30 days
- Response time
- 114 ms
- 161 ms slowest 5%
- Last check
- Passed
- 12 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://format.halowerk.com/v1/einvoice-codelists
Each call costs $0.002 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://format.halowerk.com/v1/einvoice-codelists
content-type: application/json
{
"codes": [
"C62",
"HUR",
"c62"
],
"date": "2026-11-01",
"list": "unit"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
codes | array of string | No | |
compare | boolean | No | Default: false. |
date | string (date) | No | |
limit | integer | No | Default: 200. |
list | string | Yes | One of: 1001, currency, 1153, 4451, icd, 7143, country, 4461, 5305, 5189, 7161, vatex. |
offset | integer | No | Default: 0. |
search | string | No |
Example response
The provider's example. We can't check it without paying.
Example response, 52 lines
{
"result": {
"business_terms": [
"BT-130",
"BT-150"
],
"date": "2026-11-01",
"invalid": 1,
"list": "unit",
"list_version": "2026-05-15",
"results": [
{
"code": "C62",
"in_v18": true,
"name": "one",
"valid": true,
"validator_accepts": true
},
{
"code": "HUR",
"in_v18": true,
"name": "hour",
"valid": true,
"validator_accepts": true
},
{
"code": "c62",
"in_v18": false,
"name": null,
"suggestion": "C62",
"valid": false,
"validator_accepts": false
}
],
"rules": [
"BR-CL-23"
],
"source": "https://ec.europa.eu/digital-building-blocks/sites/display/DIGITAL/Registry+of+supporting+artefacts+to+implement+EN16931",
"title": "Unit of measure (UN/ECE Rec 20 with Rec 21)",
"valid": 2,
"valid_from": "2026-05-15",
"valid_until": "2026-11-14",
"validator": "KoSIT validator 1.6.3, XRechnung 3.0.2 configuration (EN16931 validation artefacts 1.3.16)",
"validator_disagreement": {
"accepted_by_validator_not_in_list": [],
"in_list_rejected_by_validator": []
},
"version": "v17"
},
"service": "einvoice-codelists",
"status": "success"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.002.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://format.halowerk.com/v1/einvoice-codelists' \
-H 'content-type: application/json' \
--data-raw '{"codes":["C62","HUR","c62"],"date":"2026-11-01","list":"unit"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://format.halowerk.com/v1/einvoice-codelists' \
-H 'content-type: application/json' \
--data-raw '{"codes":["C62","HUR","c62"],"date":"2026-11-01","list":"unit"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.002 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.002" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.002 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fformat.halowerk.com%2Fv1%2Feinvoice-codelists&method=POST
const res = await pay("https://format.halowerk.com/v1/einvoice-codelists", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"codes": [
"C62",
"HUR",
"c62"
],
"date": "2026-11-01",
"list": "unit"
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.002 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.002"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://format.halowerk.com/v1/einvoice-codelists",
json={
"codes": [
"C62",
"HUR",
"c62",
],
"date": "2026-11-01",
"list": "unit",
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 12 h ago | Passed | 402 | 120 ms | $0.002 |
| 2 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 39 ms | $0.002 |
| 4 days ago | Passed | 402 | 129 ms | $0.002 |
| 5 days ago | Passed | 402 | 143 ms | $0.002 |
Show 10 older checks
| 5 days ago | Passed | 402 | 123 ms | $0.002 |
| 5 days ago | Passed | 402 | 161 ms | $0.002 |
| 6 days ago | Passed | 402 | 39 ms | $0.002 |
| 6 days ago | Passed | 402 | 123 ms | $0.002 |
| 6 days ago | Passed | 402 | 41 ms | $0.002 |
| 7 days ago | Passed | 402 | 44 ms | $0.002 |
| 7 days ago | Passed | 402 | 202 ms | $0.002 |
| 7 days ago | Passed | 402 | 121 ms | $0.002 |
| 8 days ago | Passed | 402 | 40 ms | $0.002 |
| 8 days ago | Passed | 402 | 40 ms | $0.002 |