finops.halowerk.com/v1/discounted-tax-basis-transcript
From original amounts, discounts, invoice defaults or line overrides, reconstruct exact rational net/included/exclusive tax and total; supplied exempt/reverse backs out included tax. No tax applicability, legal validity, actual rates, currency conversion or Stripe-cent rounding claim. A schema-valid unknown is a successful result at the same fixed price. Invalid input raises native HTTP400 before
POST
https://finops.halowerk.com/v1/discounted-tax-basis-transcriptUptime100% 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://finops.halowerk.com/v1/discounted-tax-basis-transcript", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"default_rates":{"exclusive_bp":700,"inclusive_bp":500},"exemption":"exempt","lines":[{"amount_minor":500,"discount_bp":1000,"rates":{"exclusive_bp":1900,"inclusive_bp":0}},{"amount_minor":1000,"discount_bp":2500,"rates":{"exclusive_bp":500,"inclusive_bp":1000}}],"report":{"lines":[{"exclusive_tax":{"d":"1","n":"0"},"included_tax":{"d":"1","n":"0"},"net":{"d":"1","n":"450"},"total":{"d":"1","n":"),
});
console.log(await res.json());Example input
{"default_rates":{"exclusive_bp":700,"inclusive_bp":500},"exemption":"exempt","lines":[{"amount_minor":500,"discount_bp":1000,"rates":{"exclusive_bp":1900,"inclusive_bp":0}},{"amount_minor":1000,"discount_bp":2500,"rates":{"exclusive_bp":500,"inclusive_bp":1000}}],"report":{"lines":[{"exclusive_tax":{"d":"1","n":"0"},"included_tax":{"d":"1","n":"0"},"net":{"d":"1","n":"450"},"total":{"d":"1","n":"