Fix HMRC PDF Upload ErrorSelf Assessment, PAYE & VAT Gateway
HMRC Gateway rejected your PDF? Whether it is a P87 expense claim, SA100 Self Assessment return, P60, or VAT evidence — the fix takes under 2 minutes. All processing is private and stays on your device.
Quick Answer
HMRC Gateway rejects PDFs that contain interactive form fields or exceed the 5 MB file size limit. Tax software — including HMRC's own fillable forms — exports PDFs with active AcroForm fields that trigger HMRC's document security filter. The fix is to flatten the PDF, converting fillable fields into static text, and compress it below 5 MB before resubmitting.
Why HMRC Gateway Rejects Your PDF
HMRC's document ingestion system scans every uploaded PDF for structural integrity before it reaches a caseworker. Two categories of files fail this scan every time.
Interactive Form Fields
PDFs with fillable text boxes, dropdown menus, and checkboxes contain AcroForm or XFA object dictionaries. HMRC's validator reads these as potentially executable code and blocks the upload. This includes HMRC's own downloadable fillable forms when saved after completion.
File Size Over 5 MB
HMRC Gateway enforces a hard 5 MB per-file limit. High-resolution scans of receipts, bank statements, or multi-page P60s frequently exceed this. HMRC returns a generic upload failure rather than explicitly citing the file size — making it difficult to diagnose.
HMRC Portal — Specific Details
| HMRC System | File Size Limit | Common Error Text |
|---|---|---|
| HMRC Gateway (SA/PAYE) | 5 MB per file | "The file you uploaded is not valid" |
| HMRC Document Upload Link | 5 MB per file | "File type not supported or file is too large" |
| HMRC VAT Online | 5 MB per file | "There was a problem with your upload" |
| PAYE for Employers Portal | 5 MB per file | "We could not process your document" |
Source: HMRC technical specifications, verified 2026.
Which HMRC Documents Are Most Often Rejected
These are the specific HMRC document types that trigger the most rejections, and why each fails:
P87 — Employee Expense Claim
HMRC's downloadable P87 is a fillable PDF. When you complete and save it using Adobe Reader, the AcroForm fields remain active. The HMRC upload portal blocks it immediately.
SA100 — Self Assessment Tax Return (supporting docs)
Tax software including HMRC's own software exports SA schedules as fillable PDFs. Evidence attached to SA100 submissions often still contains the interactive layer from the originating software.
P60 and P45 Scans
High-resolution scans of P60s and P45s from HR software or payroll systems frequently exceed 5 MB, particularly when scanned at 600 DPI. These are rejected silently.
R40 — Repayment of Tax on Savings
HMRC's R40 is distributed as a fillable form. Completing and saving it without flattening keeps the interactive structure, which HMRC's validator blocks.
Business Records and Receipts Bundle
Multi-page receipt bundles from accounting software often embed high-resolution images and unused font data, pushing files well above the 5 MB limit.
The Fix — Step by Step
Fix your HMRC PDF rejection in under 2 minutes:
- 1
Open UploadReadyPDF
No account or installation needed. Works in any modern browser on Windows, Mac, and mobile.
- 2
Upload your rejected HMRC document
Select your P87, SA100, P60, R40, or any HMRC document that was rejected. The file is processed locally — it never leaves your browser.
- 3
Run the compliance analysis
The tool scans the PDF internal structure for AcroForm or XFA fields and measures the file size. It identifies every issue that caused the HMRC rejection.
- 4
Apply the fix
For interactive fields: the form layer is flattened — your typed data is preserved as locked static text. For oversized files: images are recompressed and unused data is stripped.
- 5
Download and submit to HMRC Gateway
Download the fixed PDF. Upload it to HMRC Gateway, your Self Assessment portal, or the Document Upload Link. Accepted first time.
Mistakes That Make the HMRC Rejection Worse
Printing to PDF using the browser
Chrome and Firefox's Print to PDF rasterizes the document into a full-page image. This increases the file size by 3-10x and makes the PDF unreadable by HMRC's OCR systems, which may delay processing even if the file passes upload.
Saving with password protection
Some users password-protect sensitive tax documents before uploading. HMRC Gateway cannot open encrypted PDFs and will reject them with the same generic error as an interactive form rejection.
Using online PDF compressors that upload your file
Generic compressors like ilovepdf.com and smallpdf.com upload your tax documents to their servers. For P60s and SA100 evidence containing NI numbers and tax figures, this is a serious privacy risk. Use only browser-local tools.
Changing the file extension from .pdf to another format
Renaming a .docx or .jpg to .pdf does not convert it. HMRC Gateway reads the binary file header, not the extension. These will fail validation immediately.
Fix Your HMRC PDF Now
Flatten form fields and compress to pass HMRC Gateway validation. Takes under 2 minutes.
Restoring your session...
Target Portal Requirements
NewUpload Your PDF
Drag and drop or click — processed locally, never uploaded
Your file never leaves your device
$4.99 per document — full refund if your repaired PDF is still technically rejected by HMRC. All processing happens in your browser. Your files never leave your device.
Frequently Asked Questions
Why is HMRC Gateway rejecting my PDF?
HMRC Gateway rejects PDFs that contain interactive form fields (AcroForm or XFA), embedded JavaScript, or files exceeding the 5 MB limit per document. HMRC's document ingestion system requires static, flat PDFs — the same format required by USCIS and UKVI.
What is the HMRC PDF file size limit?
HMRC Gateway enforces a 5 MB per-file limit for most document uploads, including Self Assessment evidence, P60s, P45s, and business records. The HMRC PAYE portal uses the same 5 MB limit. Files above this threshold are silently rejected with a generic error.
Can I submit a fillable PDF to HMRC?
No. HMRC's document processing system rejects fillable PDFs because interactive fields contain executable code objects that trigger security filters. You must flatten the PDF first — converting all typed content into locked static text — before uploading to HMRC Gateway.
Which HMRC forms are most commonly rejected?
The most commonly rejected HMRC uploads are fillable P87 expense claim forms, SA100 Self Assessment returns exported from tax software, R40 repayment claims, and scanned P60 or P45 documents that exceed the 5 MB size limit.
Is it safe to process my P60 or SA100 here?
Yes. UploadReadyPDF processes files using WebAssembly running entirely in your browser. Your P60, P45, SA100, or any HMRC document is never uploaded to any server. All processing happens locally on your device — we have no servers to upload to.
Related UK & Government PDF Fix Guides
More guides to fix government PDF upload errors
Fix UKVI PDF Upload Error
Fix Visa4UK and Gov.uk file size and validation errors for UK visa applications.
Fix USCIS PDF Upload Error
Fix document malformed, file too large, and interactive form rejections on myUSCIS portal.
Fix IRCC PDF Upload Error
Fix IRCC ePortal rejections for Express Entry, GCKey, and Canadian immigration applications.
Fix Document Malformed PDF Error
Understand why government portals return document malformed and fix it instantly.
How to Flatten a Fillable PDF
Step-by-step guide to converting interactive PDF forms to static documents for government portals.
Compress PDF for Government Portal
Reduce PDF file size to meet USCIS 6 MB, IRCC 4 MB, and UKVI 6 MB limits.
Government PDF File Size Limits by Portal
Complete reference: USCIS 6 MB, IRCC 4 MB, UKVI 6 MB, ImmiAccount 5 MB, and more.
Fix Security Validation Failed PDF Error
Fix password-protected, encrypted, and corrupted PDF security validation failures.