---
title: "Génère le rapport variance PDF (WeasyPrint) — Sprint+12 #17."
method: GET
path: "/api/v1/accounting/budgets/{budget_id}/variance/report.pdf"
tags: ["Comptabilité"]
---

# Génère le rapport variance PDF (WeasyPrint) — Sprint+12 #17.

`GET /api/v1/accounting/budgets/{budget_id}/variance/report.pdf`

## Request

- Base URL: `https://erp.eyeot.fr/api/v1`
- URL: `https://erp.eyeot.fr/api/v1/api/v1/accounting/budgets/{budget_id}/variance/report.pdf`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Génère le rapport variance PDF (WeasyPrint) — Sprint+12 #17.

    Audit cybersécu 2026-05-23 L04-02 — `safe_get(Budget, ...)` enforce
    le scope tenant (raise NotFoundError 404 si cross-tenant, anti
    info-disclosure).

**Permissions requises** : `finance:read`

## Response `200`

Succès — payload `{data, meta}` (cf. API-GUIDE §3.1)

## Other responses

- `401`: JWT manquant, expiré ou révoqué.
- `402`: L'organisation n'a pas d'abonnement actif (paywall). Rediriger vers /activate.
- `403`: Permissions `module:action` insuffisantes pour cette route.
- `404`: Ressource introuvable (ou cross-tenant — équivalent à hidden).
- `429`: Trop de requêtes. Honorer le header `Retry-After` (secondes).

---

[API](https://skmtc.dev/eyeot/apis/eyeot-erp-api.md) · [All operations](https://skmtc.dev/eyeot/apis/eyeot-erp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/eyeot/apis/eyeot-erp-api/revisions/42ab95222a89?raw)
