Skip to main content

Download the purchase case audit trail as a PDF

GET 

/purchase-requests/:code/audit-log.pdf

Renders the whole case-wide audit trail (purchase request, orders, credit cards, invoices, approval tasks, activities and comments) as a formal audit record carrying a QR deep link and a SHA-256 content hash.

Permissions: requires the ACCOUNTANT or ADMIN role, purchase-requests:read and object-level visibility. A caller without the role, or a case the caller may not view, returns 404 rather than 403, so the response cannot confirm that a case exists to someone with no right to know. IP addresses appear only when the tenant setting audit/pdf_include_ip_addresses is enabled; the printed content hash folds that setting in, so a document's hash always matches what it shows.

Request​

Responses​

PDF document