---
title: "Download document audit report PDF"
method: POST
path: "/documents/audit-report-pdf"
tags: ["Document AI — DMS"]
---

# Download document audit report PDF

`POST /documents/audit-report-pdf`

## Request

- Base URL: `https://api.paperoffice.ai/latest`
- URL: `https://api.paperoffice.ai/latest/documents/audit-report-pdf`
- Auth: HTTP bearer

Generate PDF audit report for document security findings. Params: pofid, optional language, include_original boolean. Returns pdf_base64. Works during quarantine. Response fields: report_id, pdf_base64 (sha256 = pdf_hash), pdf_hash...

## Response `200`

Success

- object
  - `status` 'success' | 'error'
  - `pofid` string
  - `report_id` string: DAR-…
  - `pdf_base64` string: Base64 PDF; sha256(decoded) = pdf_hash
  - `pdf_hash` string: SHA-256 of the PDF bytes
  - `filename` string
  - `original_included` boolean
  - `original_skip_reason` string, nullable
  - `generated_at` string, date-time: ISO-8601 UTC with Z (report generation time)
  - `generated_at_human` string: Same instant, human readable: YYYY-MM-DD HH:MM:SS UTC (also printed in the PDF)

## Other responses

- `4XX`: Error
- `5XX`: Error

---

[API](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api.md) · [All operations](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/revisions/c6a6228a4509?raw)
