All three require API access: Manage and Taxes: Manage for the key owner. Every save goes through the same checks as the Finta app, so an answer saved through the API shows on the app’s onboarding pages, and an answer saved in the app shows in the API.
tax_year defaults to last year, the year being filed now. To record a return the company already filed somewhere else instead, see Tax uploads.
The loop
- Call
GET /tax_filing_progressand readnext_step. - If
next_step.kindisanswer, send the answers fornext_step.groupwithPATCH /tax_onboarding. Its response is the new progress, with the next step. - Repeat until
next_step.kindispay, then callPOST /tax_checkoutand give the person itsurl. - After payment,
next_stepsays what Finta is doing and when the person has something to do, such as signing the draft return.
Stages
filings lists the income and delaware filings, each with a stage:
Each filing also has
due_date (Delaware March 1, income April 15, or October 15 with an extension, as in GET /taxes; absent once filed) and overdue. A filing has its own next_step when the person has to act on it and it isn’t the top-level next_step, and a message naming the upload that records it as filed outside Finta, when that upload is allowed. Finta files the Delaware franchise tax only in a year it also files the income return, starting right after payment.
The next step
next_step.kind is one of:
Groups
Onboarding is split into six groups, answered in this order:groups lists each with its status:
A group not done yet that’s only answered in the Finta app has
web_only: true. groups is empty once the year is paid, or when its income return was filed outside Finta. Pass ?group=<key> to add group_answers, that group’s saved and drafted answers.
Questions
Don’t hardcode the questions. Whennext_step.kind is answer, the step says exactly what to send:
missing: questions still unanswered, each withkey,description, andschema, the JSON Schema its answer must match.prefilled: answers Finta already has, keyed by question.optional: questions that may be left unanswered, such as a coupon code.follow_ups: questions asked only after another answer, withasked_when. Send them in the same request as that answer.locked: answers that can’t change, with the reason.summary: forreview, the price. See Price.
Null is an answer
Where a question’s schema allows null, null is an answer, not a missing value, and the description says what it means.subsidiary: null means the company owns no company outside the US. business_address: null means the company operates at its legal address. Each is one answer, not a yes/no question followed by the details. Null for a question that doesn’t allow it is refused with answers_invalid.
Saving answers
GET /tax_filing_progress, with the next step.
- Only the answers sent change. Answers left out keep their saved values.
- Drafts, then the app’s checks. While any question in the group is still missing, the answers are kept as a draft. Once none is, the group is saved through the same checks as the Finta app and becomes
done. A group whosemissingis already empty is saved by sending it withanswers: {}. - All or nothing. An answer that fails a check saves nothing from the request:
400 answers_invalid, with a message per answer inerrors. - Some answers act right away, as the matching click does in the app: payroll choices (choosing
automatedtells Finta’s team) and the review group’s coupon code (checked and saved even before the other review answers;""removes it). - One group at a time. Only the current group, done groups and payroll waiting on Finta’s team take answers. Any other group returns
409 not_current. - Changing a done group re-checks every later group that depends on it. One that no longer passes goes back to not done, and
currentmoves back to it. - Starting. The first save for a year starts that year’s tax onboarding, which the Taxes page then shows.
- Automated payroll entry. With
payroll_data_entry_method: automated, the payroll group iswaitingwhile Finta’s team enters the employees from the payroll software, usually within a few days. Finta emails when it’s done. Its answers can still change while it waits, as on the web. - After payment, every request returns
409 already_paid.
Price
When the current group isreview, next_step.summary has the price in cents:
The review group’s first save works out the R&D credit estimate the price depends on, as opening the Review page in the app does.
Checkout
Once every group is done (stage is payment), make the payment link:
discounted_price_cents is added when a discount applies. Each call makes a new link and ends the earlier unpaid one. When nothing is owed, or an earlier link turns out to be paid, the year is marked paid: paid is true and url is null. The same call starts the filing, as paying does. If that fails, the response is 502 checkout_failed; call POST /tax_checkout again, which finishes it and then returns 409 already_paid.
Which years
Reads of a year already filed return itsfiled stage. Writes refuse a year that can’t be onboarded: