80trust / 100

Imputation

by French Accounting (PCG + VAT) in Developer tools

x402 APIPassing, checked 3 h ago

French accounting and bookkeeping: accounting entry for a purchase by a French firm (expense categorization, supplier invoice, chart of accounts PCG). Suited to: a purchase described in French. Not for: sales invoices, VAT number validation, company lookup. Returns: general ledger account, French VAT rate, regime, deductibility, rule with its source (CGI article, BOFiP or PCG), confidence. AI-made suggestion, not accountant advice. FR : imputation comptable, comptabilite PCG, TVA deductible.

POST
https://imputation-fr.fly.dev/imputation
Price
$0.005
per call in USDC
Uptime
100%
last 30 days
Response time
229 ms
364 ms slowest 5%
Last check
Passed
3 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://imputation-fr.fly.dev/imputation

Each call costs $0.005 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://imputation-fr.fly.dev/imputation
content-type: application/json

{
  "achat": "abonnement logiciel de facturation",
  "siren": "552032534"
}

Parameters

ParameterTypeRequiredDescription
achatstringYesrequired: purchase description in French, 3 to 300 characters (e.g. "gazole véhicule utilitaire", "abonnement logiciel de facturation")
montant_ttcnumber or nullNooptional: amount paid in euros, French VAT included if any, number >= 0 Default: null.
nafstring or nullNooptional: supplier NAF code, NN.NNA (e.g. 62.01Z; 6201Z accepted) Default: null.
pays_fournisseurstringNooptional: supplier country, ISO-2 code (default FR) Default: "FR".
sirenstring or nullNooptional: supplier SIREN, 9 digits (spaces allowed) Default: null.
type_vehiculestring or nullNooptional: "tourisme" (passenger car) or "utilitaire" (commercial vehicle) Default: null.

Example response

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

Example response, 70 lines
{
  "alternatives": [
    {
      "compte_pcg": "611",
      "intitule": "Sous-traitance générale",
      "motif": "convention de certains cabinets pour les services en ligne"
    },
    {
      "compte_pcg": "6135",
      "intitule": "Locations mobilières",
      "motif": "convention de certains cabinets pour les abonnements"
    },
    {
      "compte_pcg": "6226",
      "intitule": "Honoraires",
      "motif": "d'après le code NAF du fournisseur (division 70, Activités des sièges sociaux ; conseil de gestion)"
    }
  ],
  "avertissement": "Réponse générée par un agent IA ; suggestion, pas un avis d'expert-comptable.",
  "base_legale": [
    {
      "citation": "6511 Redevances pour concessions, brevets, licences, marques, procédés, solutions informatiques",
      "reference": "ANC, Recueil des normes comptables françaises (PCG), version du 1er janvier 2026, art. 1121-1 (plan de comptes)",
      "url": "https://www.anc.gouv.fr/files/anc/files/1_Normes_fran%C3%A7aises/recueil/2026/Recueil-PCG-Janvier-2026.pdf",
      "verifie_le": "2026-10-03"
    },
    {
      "citation": "Le taux normal de la taxe sur la valeur ajoutée est fixé à 20 %",
      "reference": "CGI art. 278 (taux normal de 20 %), en vigueur du 01/01/2014 au 01/01/2027",
      "url": "https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000026950057",
      "verifie_le": "2026-10-03"
    },
    {
      "citation": "Le PCG n'impose pas de compte pour les abonnements SaaS ; 6511 suit le libellé 2026 (« solutions informatiques »). Certains cabinets utilisent 611 ou 6135 : à trancher avec le comptable.",
      "reference": "À confirmer par un expert-comptable",
      "url": null,
      "verifie_le": null
    }
  ],
  "compte_pcg": "6511",
  "confiance": "moyenne",
  "deduction": {
    "conditions": [
      "facture au nom de l'entreprise, avec la TVA mentionnée distinctement (montant HT, taux, TVA)",
      "achat utilisé pour une activité soumise à la TVA"
    ],
    "pourcentage": 100,
    "statut": "oui"
  },
  "drapeaux": [
    "naf_et_achat_divergents",
    "facture_au_nom_entreprise"
  ],
  "entreprise": {
    "date_source": "2026-10-08",
    "denomination": "DANONE",
    "etat": "actif",
    "naf": "70.10Z",
    "naf_libelle": null,
    "siren": "552032534",
    "source": "recherche-entreprises.api.gouv.fr"
  },
  "essai": false,
  "intitule": "Redevances pour concessions, brevets, licences, marques, procédés, solutions informatiques",
  "naf_version": "NAF rév. 2 (2008), en vigueur pour les codes APE jusqu'au 31/12/2026 ; divisions (2 chiffres) communes avec la NAF 2025, référence au 01/01/2027",
  "revue_humaine": false,
  "source_compte": "mot_cle",
  "tva_regime": "normal",
  "tva_taux": 20
}

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.005.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://imputation-fr.fly.dev/imputation' \
  -H 'content-type: application/json' \
  --data-raw '{"achat":"abonnement logiciel de facturation","siren":"552032534"}'

# 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://imputation-fr.fly.dev/imputation' \
  -H 'content-type: application/json' \
  --data-raw '{"achat":"abonnement logiciel de facturation","siren":"552032534"}' \
  | 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.005 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.005" });
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.005 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fimputation-fr.fly.dev%2Fimputation&method=POST
const res = await pay("https://imputation-fr.fly.dev/imputation", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "achat": "abonnement logiciel de facturation",
    "siren": "552032534"
  }),
});
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.005 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.005"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://imputation-fr.fly.dev/imputation",
        json={
            "achat": "abonnement logiciel de facturation",
            "siren": "552032534",
        },
    )
    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
3 h agoPassed402201 ms$0.005
8 h agoPassed402236 ms$0.005
13 h agoPassed402211 ms$0.005
17 h agoPassed402213 ms$0.005
22 h agoPassed402212 ms$0.005
Show 10 older checks
27 h agoPassed402282 ms$0.005
31 h agoPassed402224 ms$0.005
36 h agoPassed402357 ms$0.005
39 h agoPassed402229 ms$0.005
44 h agoPassed402225 ms$0.005
2 days agoPassed402364 ms$0.005
2 days agoPassed402208 ms$0.005
2 days agoPassed402322 ms$0.005
3 days agoPassed402274 ms$0.005
3 days agoPassed402332 ms$0.005

History

14 Oct 2026Price changed from $0.01 to $0.005