Brazilian selling price calculator (markup divisor)
api.oxiconsultoria.com.br/tributario/preco-venda
Brazilian selling price calculator (markup divisor): price from unit cost, taxes (given rate or Simples Nacional effective rate by annex and revenue), variable and fixed expenses and target margin, all as % of price, with the breakdown, markup multiplier and break-even price.
POST
https://api.oxiconsultoria.com.br/tributario/preco-vendaUptime100% of 5 checks 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://api.oxiconsultoria.com.br/tributario/preco-venda", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"anexo_simples":"I","custo_unitario":80,"despesas_fixas_percentual":0.12,"despesas_variaveis":0.08,"margem_lucro":0.15,"receita_12_meses":600000}),
});
console.log(await res.json());Example input
{
"anexo_simples": "I",
"custo_unitario": 80,
"despesas_fixas_percentual": 0.12,
"despesas_variaveis": 0.08,
"margem_lucro": 0.15,
"receita_12_meses": 600000
}