Upload Document
Documents
Upload Document
Upload tax documents for AI-powered processing and extraction
POST
Upload Document
Overview
The Document Upload endpoint allows you to upload tax documents directly to a client’s Fifteenth account. Documents are stored securely and can be organized by tax year with custom descriptions.Documents are stored securely and can be retrieved using the document ID.
Supported Document Types
Tax Forms
- W-2: Wage and tax statements
- 1099 Series: 1099-INT, 1099-DIV, 1099-B, 1099-R, etc.
- 1098: Mortgage interest statements
- K-1: Partnership, S-Corp, trust distributions
- Prior Year Returns: Previous tax returns
Supporting Documents
- Bank Statements: Account summaries and transactions
- Investment Statements: Brokerage and retirement accounts
- Receipts: Business expenses, charitable donations
- Legal Documents: Divorce decrees, adoption papers
- Business Records: P&L statements, balance sheets
File Requirements
- Formats: PDF, PNG, JPG, JPEG, TIFF
- Size Limit: 25MB per file
- Quality: Minimum 300 DPI for optimal OCR
- Pages: Up to 50 pages per document
Request
Path Parameters
The unique Fifteenth account identifier to upload documents to.Format: Numeric ID
Example:
Example:
12345Headers
Bearer token with your Partner API key
Must be
multipart/form-data for file uploadsForm Data Parameters
The tax document file to upload.Formats: PDF, PNG, JPG, JPEG, TIFF
Size: Maximum 25MB
Quality: 300 DPI recommended for best OCR results
Size: Maximum 25MB
Quality: 300 DPI recommended for best OCR results
Tax year this document relates to.Range: 2020-2025
Example:
Example:
2024Human-readable description of the document.Max: 500 characters
Example: “W-2 from ABC Corporation for 2024”
Example: “W-2 from ABC Corporation for 2024”
Response
Success Response
Unique document identifier.
The account this document belongs to.
Original filename of the uploaded document.
Tax year for this document.
Document description.
File size in bytes.
MIME type of the uploaded file.
ISO 8601 timestamp when document was uploaded.
Examples
Basic Document Upload
Multiple Document Upload
Response Examples
Successful Upload Response
Response
Error Responses
Invalid file or request parameters.
File exceeds size limit.
File cannot be processed (corrupted, encrypted, etc.).
Best Practices
File Optimization
Image Quality
Image Quality
For best results:
- Use 300 DPI or higher resolution
- Ensure good lighting and contrast
- Avoid shadows and glare
- Keep text straight and unrotated
PDF Guidelines
PDF Guidelines
- Use text-based PDFs when possible (not scanned images)
- Ensure PDFs are not password protected
- Combine related pages into single documents
- Compress large PDFs while maintaining quality
Batch Processing
Batch Processing
- Upload related documents together
- Use consistent naming conventions
- Include clear descriptions for organization
Error Handling
Next Steps
Retrieve Document
Get document details and metadata
List Documents
View all documents for an account
Project Status
Monitor how documents contribute to tax projects
Authentication
Learn about API keys and security best practices