Taxes
Update tax onboarding
Saves answers for one onboarding group and returns the same object as
GET /tax_filing_progress, with the next step.
- Only the current group, done groups and payroll waiting on Finta’s team take answers.
Any other group returns
409not_currentand saves nothing. - Only the answers sent change. While a 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 web app and becomes
done. A group whosemissingis already empty is saved by sending it withanswers: {}. - An answer that fails a check saves nothing:
400answers_invalid, with a message per answer inerrors. - Changing a done group re-checks every group that needs it. One that no longer passes
goes back to not done, and
currentmoves back to the earliest such group. - The first save for a year starts that year’s tax onboarding, which the Taxes page then shows.
- Once the year is paid, every request returns
409already_paid. - The
reviewgroup’s first save works out the R&D credit estimate its price depends on, as opening the web app’s Review page does.
Needs Taxes: Manage.
PATCH
/
tax_onboarding
Update tax onboarding
curl --request PATCH \
--url https://app.finta.com/api/v1/tax_onboarding \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tax_year": 2025,
"group": "subsidiaries",
"answers": {
"subsidiary": {
"country": "canada",
"legal_name": "Acme Canada Ltd."
}
}
}
'import requests
url = "https://app.finta.com/api/v1/tax_onboarding"
payload = {
"tax_year": 2025,
"group": "subsidiaries",
"answers": { "subsidiary": {
"country": "canada",
"legal_name": "Acme Canada Ltd."
} }
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tax_year: 2025,
group: 'subsidiaries',
answers: {subsidiary: {country: 'canada', legal_name: 'Acme Canada Ltd.'}}
})
};
fetch('https://app.finta.com/api/v1/tax_onboarding', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.finta.com/api/v1/tax_onboarding",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'tax_year' => 2025,
'group' => 'subsidiaries',
'answers' => [
'subsidiary' => [
'country' => 'canada',
'legal_name' => 'Acme Canada Ltd.'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.finta.com/api/v1/tax_onboarding"
payload := strings.NewReader("{\n \"tax_year\": 2025,\n \"group\": \"subsidiaries\",\n \"answers\": {\n \"subsidiary\": {\n \"country\": \"canada\",\n \"legal_name\": \"Acme Canada Ltd.\"\n }\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://app.finta.com/api/v1/tax_onboarding")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tax_year\": 2025,\n \"group\": \"subsidiaries\",\n \"answers\": {\n \"subsidiary\": {\n \"country\": \"canada\",\n \"legal_name\": \"Acme Canada Ltd.\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.finta.com/api/v1/tax_onboarding")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tax_year\": 2025,\n \"group\": \"subsidiaries\",\n \"answers\": {\n \"subsidiary\": {\n \"country\": \"canada\",\n \"legal_name\": \"Acme Canada Ltd.\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"object": "tax_filing_progress",
"tax_year": 123,
"next_step": {
"kind": "answer",
"group": "<string>",
"filing": "income",
"prefilled": {},
"missing": [
{
"key": "<string>",
"description": "<string>",
"schema": {}
}
],
"optional": [
{
"key": "<string>",
"description": "<string>",
"schema": {}
}
],
"follow_ups": [
{
"key": "<string>",
"description": "<string>",
"schema": {},
"asked_when": "<string>"
}
],
"locked": {},
"summary": {
"price_cents": 123,
"audit_protection_price_cents": 123,
"rd_tax_credit_estimate_cents": 123,
"rd_tax_credit_fee_cents": 123,
"discounted_price_cents": 123,
"discount": {
"code": "<string>",
"description": "<string>"
},
"discount_error": "<string>",
"breakdown": [
{
"item": "Federal filing",
"count": 123,
"price_cents": 123,
"discounted_price_cents": 123,
"amount_cents": 123,
"included": true,
"note": "<string>"
}
]
},
"url": "<string>",
"message": "<string>",
"required_actions": [
"sign_return"
],
"draft": {
"total_tax_cents": 123,
"rd_tax_credits_cents": 123
},
"amount_due_cents": 123,
"price_cents": 123,
"discounted_price_cents": 123,
"filed_at": 123
},
"groups": [
{
"key": "data_sources",
"status": "done",
"blocked_by": [
"<string>"
],
"reason": "<string>",
"web_only": true
}
],
"filings": [
{
"type": "income",
"stage": "not_started",
"due_date": "2023-12-25",
"overdue": true,
"next_step": {
"kind": "answer",
"group": "<string>",
"filing": "income",
"prefilled": {},
"missing": [
{
"key": "<string>",
"description": "<string>",
"schema": {}
}
],
"optional": [
{
"key": "<string>",
"description": "<string>",
"schema": {}
}
],
"follow_ups": [
{
"key": "<string>",
"description": "<string>",
"schema": {},
"asked_when": "<string>"
}
],
"locked": {},
"summary": {
"price_cents": 123,
"audit_protection_price_cents": 123,
"rd_tax_credit_estimate_cents": 123,
"rd_tax_credit_fee_cents": 123,
"discounted_price_cents": 123,
"discount": {
"code": "<string>",
"description": "<string>"
},
"discount_error": "<string>",
"breakdown": [
{
"item": "Federal filing",
"count": 123,
"price_cents": 123,
"discounted_price_cents": 123,
"amount_cents": 123,
"included": true,
"note": "<string>"
}
]
},
"url": "<string>",
"message": "<string>",
"required_actions": [
"sign_return"
],
"draft": {
"total_tax_cents": 123,
"rd_tax_credits_cents": 123
},
"amount_due_cents": 123,
"price_cents": 123,
"discounted_price_cents": 123,
"filed_at": 123
},
"message": "<string>"
}
],
"group_answers": {
"group": "<string>",
"answers": {}
}
}Authorizations
Body
application/json
Response
The tax year's filing progress after the save
Where one tax year's filing stands, from tax onboarding to filed.
Was this page helpful?
⌘I
Update tax onboarding
curl --request PATCH \
--url https://app.finta.com/api/v1/tax_onboarding \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tax_year": 2025,
"group": "subsidiaries",
"answers": {
"subsidiary": {
"country": "canada",
"legal_name": "Acme Canada Ltd."
}
}
}
'import requests
url = "https://app.finta.com/api/v1/tax_onboarding"
payload = {
"tax_year": 2025,
"group": "subsidiaries",
"answers": { "subsidiary": {
"country": "canada",
"legal_name": "Acme Canada Ltd."
} }
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
tax_year: 2025,
group: 'subsidiaries',
answers: {subsidiary: {country: 'canada', legal_name: 'Acme Canada Ltd.'}}
})
};
fetch('https://app.finta.com/api/v1/tax_onboarding', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.finta.com/api/v1/tax_onboarding",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'tax_year' => 2025,
'group' => 'subsidiaries',
'answers' => [
'subsidiary' => [
'country' => 'canada',
'legal_name' => 'Acme Canada Ltd.'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.finta.com/api/v1/tax_onboarding"
payload := strings.NewReader("{\n \"tax_year\": 2025,\n \"group\": \"subsidiaries\",\n \"answers\": {\n \"subsidiary\": {\n \"country\": \"canada\",\n \"legal_name\": \"Acme Canada Ltd.\"\n }\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://app.finta.com/api/v1/tax_onboarding")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"tax_year\": 2025,\n \"group\": \"subsidiaries\",\n \"answers\": {\n \"subsidiary\": {\n \"country\": \"canada\",\n \"legal_name\": \"Acme Canada Ltd.\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.finta.com/api/v1/tax_onboarding")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tax_year\": 2025,\n \"group\": \"subsidiaries\",\n \"answers\": {\n \"subsidiary\": {\n \"country\": \"canada\",\n \"legal_name\": \"Acme Canada Ltd.\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"object": "tax_filing_progress",
"tax_year": 123,
"next_step": {
"kind": "answer",
"group": "<string>",
"filing": "income",
"prefilled": {},
"missing": [
{
"key": "<string>",
"description": "<string>",
"schema": {}
}
],
"optional": [
{
"key": "<string>",
"description": "<string>",
"schema": {}
}
],
"follow_ups": [
{
"key": "<string>",
"description": "<string>",
"schema": {},
"asked_when": "<string>"
}
],
"locked": {},
"summary": {
"price_cents": 123,
"audit_protection_price_cents": 123,
"rd_tax_credit_estimate_cents": 123,
"rd_tax_credit_fee_cents": 123,
"discounted_price_cents": 123,
"discount": {
"code": "<string>",
"description": "<string>"
},
"discount_error": "<string>",
"breakdown": [
{
"item": "Federal filing",
"count": 123,
"price_cents": 123,
"discounted_price_cents": 123,
"amount_cents": 123,
"included": true,
"note": "<string>"
}
]
},
"url": "<string>",
"message": "<string>",
"required_actions": [
"sign_return"
],
"draft": {
"total_tax_cents": 123,
"rd_tax_credits_cents": 123
},
"amount_due_cents": 123,
"price_cents": 123,
"discounted_price_cents": 123,
"filed_at": 123
},
"groups": [
{
"key": "data_sources",
"status": "done",
"blocked_by": [
"<string>"
],
"reason": "<string>",
"web_only": true
}
],
"filings": [
{
"type": "income",
"stage": "not_started",
"due_date": "2023-12-25",
"overdue": true,
"next_step": {
"kind": "answer",
"group": "<string>",
"filing": "income",
"prefilled": {},
"missing": [
{
"key": "<string>",
"description": "<string>",
"schema": {}
}
],
"optional": [
{
"key": "<string>",
"description": "<string>",
"schema": {}
}
],
"follow_ups": [
{
"key": "<string>",
"description": "<string>",
"schema": {},
"asked_when": "<string>"
}
],
"locked": {},
"summary": {
"price_cents": 123,
"audit_protection_price_cents": 123,
"rd_tax_credit_estimate_cents": 123,
"rd_tax_credit_fee_cents": 123,
"discounted_price_cents": 123,
"discount": {
"code": "<string>",
"description": "<string>"
},
"discount_error": "<string>",
"breakdown": [
{
"item": "Federal filing",
"count": 123,
"price_cents": 123,
"discounted_price_cents": 123,
"amount_cents": 123,
"included": true,
"note": "<string>"
}
]
},
"url": "<string>",
"message": "<string>",
"required_actions": [
"sign_return"
],
"draft": {
"total_tax_cents": 123,
"rd_tax_credits_cents": 123
},
"amount_due_cents": 123,
"price_cents": 123,
"discounted_price_cents": 123,
"filed_at": 123
},
"message": "<string>"
}
],
"group_answers": {
"group": "<string>",
"answers": {}
}
}