Skip to main content
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

number
required
The unique Fifteenth account identifier to upload documents to.Format: Numeric ID
Example: 12345

Headers

string
required
Bearer token with your Partner API key
string
required
Must be multipart/form-data for file uploads

Form Data Parameters

file
required
The tax document file to upload.Formats: PDF, PNG, JPG, JPEG, TIFF
Size: Maximum 25MB
Quality: 300 DPI recommended for best OCR results
integer
required
Tax year this document relates to.Range: 2020-2025
Example: 2024
string
Human-readable description of the document.Max: 500 characters
Example: “W-2 from ABC Corporation for 2024”

Response

Success Response

number
Unique document identifier.
number
The account this document belongs to.
string
Original filename of the uploaded document.
integer
Tax year for this document.
string
Document description.
integer
File size in bytes.
string
MIME type of the uploaded file.
string
ISO 8601 timestamp when document was uploaded.

Examples

Basic Document Upload

Multiple Document Upload

Response Examples

Successful Upload Response

Response

Error Responses

object
Invalid file or request parameters.
object
File exceeds size limit.
object
File cannot be processed (corrupted, encrypted, etc.).

Best Practices

File Optimization

For best results:
  • Use 300 DPI or higher resolution
  • Ensure good lighting and contrast
  • Avoid shadows and glare
  • Keep text straight and unrotated
  • 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
  • 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