Skip to main content
If your company filed its taxes somewhere else, for example with a previous provider, you can record the filed return in Finta with its PDF. This is the same as clicking I’ve already filed on a tax year’s Taxes page in the Finta app, and it gives the same result: the year’s record is marked filed, the PDF is attached to it, and it shows on the Taxes page exactly as an upload made there would. There are two uploads: Each takes a PDF you upload first, so recording a return takes two steps: upload the PDF to get a file_id, then call the tax upload with it. Uploading is one call with POST /files, or two with a direct upload: POST /file_uploads, then a PUT of the PDF to storage. All four endpoints on this page require API access: Manage and Taxes: Manage for the key owner. A file’s purpose says what may attach it. Files uploaded without one are tax documents (purpose: "tax_document"), which is what the tax uploads take. The same file endpoints also upload bank statements (purpose: "bank_statement") to attach when reconciling an account.
Uploads never replace existing documents or change Finta onboarding, preparation or filing workflows. Each action must be available on that year’s Taxes page. A new file ID does not bypass these restrictions.

Step 1: upload the PDF

There are two ways to upload a PDF. Both return a file with a file_ ID that you pass to a tax upload.

With a multipart request

POST /files takes the PDF as multipart/form-data in a field named file:
The content is checked as it arrives. A file that is not a PDF is refused with 400 invalid_file, whatever its name or declared type.

With a direct upload URL

Where a multipart request isn’t practical, such as an AI agent that can run curl in a terminal, use POST /file_uploads. Send the file’s name, its size in bytes, and its MD5 checksum in base64:
The response has a url to PUT the PDF’s bytes to, straight to Finta’s file storage, and the headers to send with the PUT:
PUT the file with every header in headers, exactly as given, before expires_at (10 minutes):
Storage accepts only bytes that match the size and checksum you sent, so the URL can’t be used to store a different file. Each call returns a new URL and a new file. Treat the URL as a secret until it expires. The PDF check for a direct upload happens when a tax upload attaches the file: a file whose bytes were never PUT, or that is not a PDF, is refused then with 400 invalid_file.

Rules for files

  • A file belongs to the company of the key that uploaded it. Another company’s file_id returns 404 resource_missing.
  • A file attaches to one tax record, once, and only if it was uploaded as a tax document. A file uploaded with purpose: "bank_statement" is refused with 400 invalid_file. Attaching it again returns 409 file_already_attached; upload the PDF again to attach it to another record.
  • A file nothing attaches within 24 hours of its creation expires (expires_at on a file from POST /files). It then returns 404 resource_missing, and Finta deletes it. An attached file stays with its tax record.

Step 2: record the return

Income tax return

POST /taxes/income_uploads takes four required fields:
The response is the year’s income tax record:
What the upload does:
  • The PDF is checked first. A Delaware franchise tax report (a PDF whose text contains “Annual Franchise Tax Report”) is refused with 400 wrong_document_type and nothing is recorded; send it to the franchise upload instead.
  • A new income record is created only when no income filing or submitted Finta workflow exists for that year. It is marked filed, with filed_elsewhere: true, and the PDF becomes its filed_return document with its original file name. filed_at is when you uploaded it, not the date the return was actually filed.
  • The record’s jurisdictions are US plus the states you sent.
  • A missing Delaware record is created only if Finta’s status check already confirms it externally filed. Otherwise, the Taxes page asks for Delaware filing status; an income upload does not start Delaware preparation. Existing Delaware workflows and other tax years are unchanged. An external Delaware report uploaded before the income return remains linked to the same-year questionnaire without changing its PDF or filing date.

Delaware franchise tax report

POST /taxes/franchise_uploads takes two required fields:
When the year’s Taxes page allows declaring an external Delaware filing, the record is created if missing and marked filed, with filed_elsewhere: true. The PDF becomes its filing_confirmation document only when no confirmation exists, and is renamed [<tax_year>] <company name> Delaware Confirmation.pdf. A known externally filed record may receive its missing confirmation without resetting the original filing date or workflow states. Archived filings and Finta onboarding, preparation, authorized payment or filing workflows cannot be changed. The response is the year’s franchise tax record; no other tax year changes.

When an upload is available

Income uploads require the year currently needing onboarding, within the company’s incorporation years and unlocked on the Taxes page. Existing income filings, submitted Finta onboarding and storage restrictions prevent uploading. Incomplete integrations and uncategorized transactions do not block an income upload. Declaring a Delaware report externally filed requires an available year with no existing confirmation or protected Finta workflow. Missing incorporation information and the Taxes page’s pre-onboarding bookkeeping/storage blockers prevent the declaration. Adding a missing PDF to a known externally filed record remains available with bookkeeping blockers, but year locks and document/workflow protections still apply. A completed return continues to satisfy its tax year even if staff select another questionnaire. Explicit prior-year confirmation requests still keep later years locked until confirmed. An unavailable action returns 409 tax_upload_not_allowed. Show the reason to the user and resolve a genuine eligibility blocker in Finta. Do not create a fresh file to replace a document or bypass a protected workflow.

Retry safely

A rejected upload leaves the file unattached, but its cause determines whether to retry. For a transient 500 tax_upload_failed, retry with the same valid file_id. For 409 tax_upload_not_allowed, resolve the underlying eligibility blocker first; existing documents and protected Finta workflows remain nonreplaceable. A fresh file ID does not change that result. A successful upload cannot be repeated with the same file; it returns 409 file_already_attached. After a timeout, read the tax record before retrying: the first attempt may already have succeeded. A new file can be used for a different independently eligible record, never to replace the successful upload.

Handle errors

See Errors for every code.