77trust / 100

Oss Return Calc

by rechen.halowerk.com in Other

x402 APIPassing, checked 2 h ago

Prepare an EU One-Stop-Shop (union scheme) VAT return: taxable amounts and VAT per Member State of consumption and rate, rates checked against the Commission’s TEDB for the supply date, corrections of earlier quarters, deadline. Aggregates B2C distance sales of goods and services by Member State of consumption and VAT rate and computes VAT = taxable amount × rate, rounded half up to cents per country and rate (Art. 369g Directive 2006/112/EC).

POST
https://rechen.halowerk.com/v1/oss-return-calc
Price
$0.003
per call in USDC
Uptime
95.8%
last 30 days
Response time
127 ms
204 ms slowest 5%
Last check
Passed
2 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://rechen.halowerk.com/v1/oss-return-calc

Each call costs $0.003 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://rechen.halowerk.com/v1/oss-return-calc
content-type: application/json

{
  "lines": [
    {
      "country": "FR",
      "net_amount_eur": 1000,
      "rate_percent": 20,
      "supply_date": "2026-08-10"
    },
    {
      "country": "AT",
      "net_amount_eur": 500,
      "rate_percent": 10
    }
  ],
  "member_state_of_identification": "DE",
  "quarter": "2026-Q3"
}

Parameters

ParameterTypeRequiredDescription
correctionsarray of objectNo
linesarray of objectYes
member_state_of_identificationstringYes
quarterstringYes
strictbooleanNo Default: true.

Example response

The provider's example. We can't check it without paying.

Example response, 74 lines
{
  "limitations": [
    "Information on the stated legal texts and data as of 2026-11-01; not legal or tax advice.",
    "Results depend on the facts supplied by the caller, which are not verified.",
    "Whether a product qualifies for a reduced rate in the Member State of consumption is not checked; only whether the rate exists there (TEDB is not a legal reference).",
    "Import OSS (IOSS) and the non-union scheme are not covered."
  ],
  "result": {
    "by_country": [
      {
        "corrections_eur": 0,
        "country": "AT",
        "name": "Austria",
        "rates": [
          {
            "lines": 1,
            "rate_percent": 10,
            "rate_type": "reduced",
            "taxable_amount_eur": 500,
            "tedb_rate_kind": "reduced",
            "vat_eur": 50
          }
        ],
        "tedb_situation_on": "2026-07-01",
        "total_vat_eur": 50
      },
      {
        "corrections_eur": 0,
        "country": "FR",
        "name": "France",
        "rates": [
          {
            "lines": 1,
            "rate_percent": 20,
            "rate_type": "standard",
            "taxable_amount_eur": 1000,
            "tedb_rate_kind": "standard",
            "vat_eur": 200
          }
        ],
        "tedb_situation_on": "2026-07-01",
        "total_vat_eur": 200
      }
    ],
    "deadline": {
      "basis": "Art. 369f and 369i Directive 2006/112/EC: by the end of the month following the quarter",
      "return_and_payment": "2026-10-31"
    },
    "dispatch_and_establishment_breakdown": [],
    "findings": [],
    "member_state_of_identification": "DE",
    "quarter": "2026-Q3",
    "rate_source": {
      "coverage": {
        "as_of": "2026-11-01",
        "from": "2025-01-01"
      },
      "licence": "European Commission reuse policy, Commission Decision 2011/833/EU (reuse with acknowledgement); TEDB states it is not a reference for legal purposes",
      "notes": "Rates are condensed per Member State to standard, reduced, super-reduced and parking rates and region-specific rates (category REGION). Rates for the Canary Islands and the French overseas departments are outside the EU VAT territory (Art. 6(1)(b),(c) Directive 2006/112/EC) and listed separately. Changes are resolved to the first day of a month.",
      "publisher": "European Commission, DG TAXUD - Taxes in Europe Database (TEDB) v3",
      "retrieved": "2026-11-01",
      "service": "SOAP web service VatRetrievalService, operation retrieveVatRates (https://ec.europa.eu/taxation_customs/tedb/ws/), all 27 Member States",
      "snapshots": "situationOn = first day of each month from 2025-01-01 to 2026-10-01 and 2026-11-01"
    },
    "totals": {
      "corrections_eur": 0,
      "taxable_amount_eur": 1500,
      "vat_eur": 250,
      "vat_payable_eur": 250
    }
  },
  "service": "oss-return-calc",
  "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.003.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://rechen.halowerk.com/v1/oss-return-calc' \
  -H 'content-type: application/json' \
  --data-raw '{"lines":[{"country":"FR","net_amount_eur":1000,"rate_percent":20,"supply_date":"2026-08-10"},{"country":"AT","net_amount_eur":500,"rate_percent":10}],"member_state_of_identification":"DE","quarter":"2026-Q3"}'

# 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://rechen.halowerk.com/v1/oss-return-calc' \
  -H 'content-type: application/json' \
  --data-raw '{"lines":[{"country":"FR","net_amount_eur":1000,"rate_percent":20,"supply_date":"2026-08-10"},{"country":"AT","net_amount_eur":500,"rate_percent":10}],"member_state_of_identification":"DE","quarter":"2026-Q3"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: 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.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
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.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Frechen.halowerk.com%2Fv1%2Foss-return-calc&method=POST
const res = await pay("https://rechen.halowerk.com/v1/oss-return-calc", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "lines": [
      {
        "country": "FR",
        "net_amount_eur": 1000,
        "rate_percent": 20,
        "supply_date": "2026-08-10"
      },
      {
        "country": "AT",
        "net_amount_eur": 500,
        "rate_percent": 10
      }
    ],
    "member_state_of_identification": "DE",
    "quarter": "2026-Q3"
  }),
});
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.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://rechen.halowerk.com/v1/oss-return-calc",
        json={
            "lines": [
                {
                    "country": "FR",
                    "net_amount_eur": 1000,
                    "rate_percent": 20,
                    "supply_date": "2026-08-10",
                },
                {
                    "country": "AT",
                    "net_amount_eur": 500,
                    "rate_percent": 10,
                },
            ],
            "member_state_of_identification": "DE",
            "quarter": "2026-Q3",
        },
    )
    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

WhenResultHTTPTimePrice
2 h agoPassed402127 ms$0.003
13 h agoPassed402129 ms$0.003
26 h agoPassed40238 ms$0.003
3 days agoTimed out---
4 days agoPassed402270 ms$0.003
Show 10 older checks
5 days agoPassed402204 ms$0.003
5 days agoPassed402122 ms$0.003
6 days agoPassed402164 ms$0.003
6 days agoPassed402132 ms$0.003
6 days agoPassed402125 ms$0.003
7 days agoPassed402126 ms$0.003
7 days agoPassed402128 ms$0.003
7 days agoPassed402154 ms$0.003
8 days agoPassed402122 ms$0.003
8 days agoPassed402171 ms$0.003