# Imputation PCG FR

> Imputation PCG FR is a paid API for AI agents from imputation-fr.fly.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-14).

Suggests French PCG accounting code, VAT rate/regime, and deduction rules for a described purchase in a French company context

## Facts

- Endpoint: POST https://imputation-fr.fly.dev/imputation?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/imputation-pcg-fr-d989b687
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_idTe5lgtMrWsmLLy1Jp2f

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability imputation-pcg-fr-d989b687 -d '<json body>'
```

Example prompt: Can you find the right PCG accounting code and TVA rate for a purchase of 'gazole véhicule utilitaire' worth €85.00 TTC from a French supplier — it's for a utility vehicle, not a passenger car?

## When to prefer this

Use this endpoint when you need to automatically classify French business purchases into the Plan Comptable Général (PCG) and determine applicable TVA rules, especially inside accounting automation workflows for French entities. Prefer this over a generic LLM prompt when you need structured, sourced output (account code + official rule reference) and optionally want to enrich with supplier SIREN/NAF data. Not suitable as a substitute for certified accountant advice on complex or ambiguous cases.

## Known failure modes

- Missing or too-short purchase description (under 3 characters) returns a validation error
- Invalid SIREN format causes rejection
- Unrecognized NAF code format may be ignored or cause a parse error
- Ambiguous purchase description yields low confidence score
- Foreign supplier with no French tax registration may limit VAT regime determination
- Service unavailability on the fly.dev host returns HTTP 5xx

## How this service works

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.

## Output

Returns a suggested PCG account number, applicable VAT rate and regime, the deduction rule with its official regulatory source, the supplier's company status (if SIREN provided), and a confidence score for the suggestion. The response is AI-generated and is a suggestion, not certified accountant advice.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "naf": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "optional: supplier NAF code, NN.NNA (e.g. 62.01Z; 6201Z accepted)"
  },
  "achat": {
   "type": "string",
   "description": "required: purchase description in French, 3 to 300 characters (e.g. \"gazole véhicule utilitaire\", \"abonnement logiciel de facturation\")"
  },
  "siren": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "optional: supplier SIREN, 9 digits (spaces allowed)"
  },
  "montant_ttc": {
   "anyOf": [
    {
     "type": "number"
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "optional: amount paid in euros, French VAT included if any, number >= 0"
  },
  "type_vehicule": {
   "anyOf": [
    {
     "enum": [
      "tourisme",
      "utilitaire"
     ],
     "type": "string"
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "optional: \"tourisme\" (passenger car) or \"utilitaire\" (commercial vehicle)"
  },
  "pays_fournisseur": {
   "type": "string",
   "default": "FR",
   "description": "optional: supplier country, ISO-2 code (default FR)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "essai": false,
  "drapeaux": [
   "naf_et_achat_divergents",
   "facture_au_nom_entreprise"
  ],
  "intitule": "Redevances pour concessions, brevets, licences, marques, procédés, solutions informatiques",
  "tva_taux": 20,
  "confiance": "moyenne",
  "deduction": {
   "statut": "oui",
   "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
  },
  "compte_pcg": "6511",
  "entreprise": {
   "naf": "70.10Z",
   "etat": "actif",
   "siren": "552032534",
   "source": "recherche-entreprises.api.gouv.fr",
   "date_source": "2026-10-08",
   "naf_libelle": null,
   "denomination": "DANONE"
  },
  "tva_regime": "normal",
  "base_legale": [
   {
    "url": "https://www.anc.gouv.fr/files/anc/files/1_Normes_fran%C3%A7aises/recueil/2026/Recueil-PCG-Janvier-2026.pdf",
    "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)",
    "verifie_le": "2026-10-03"
   },
   {
    "url": "https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000026950057",
    "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",
    "verifie_le": "2026-10-03"
   },
   {
    "url": null,
    "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",
    "verifie_le": null
   }
  ],
  "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",
  "alternatives": [
   {
    "motif": "convention de certains cabinets pour les services en ligne",
    "intitule": "Sous-traitance générale",
    "compte_pcg": "611"
   },
   {
    "motif": "convention de certains cabinets pour les abonnements",
    "intitule": "Locations mobilières",
    "compte_pcg": "6135"
   },
   {
    "motif": "d'après le code NAF du fournisseur (division 70, Activités des sièges sociaux ; conseil de gestion)",
    "intitule": "Honoraires",
    "compte_pcg"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/imputation-pcg-fr-d989b687/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from imputation-fr.fly.dev](https://www.zero.xyz/host/imputation-fr.fly.dev/llms.txt)
