Update organization jurisdiction settings
Returns the effective statement/receipt profile, current-year preview and country presets. An organization with no saved profile uses the US preset and existing EIN without printing the registration number. Saving replaces configurable values; omitted optional values reset to their preset/default. Fiscal periods use the year in which the period ends. This endpoint configures wording and period metadata; it does not validate tax eligibility. Requires permission: one of manage_settings, access_account_settings.
curl --request PUT \
--url https://api.gratona.com/v1/admin/jurisdiction-profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"country_code": "US",
"tax_period_basis": "calendar_year",
"registration_label": "EIN",
"registration_number": "12-3456789",
"statement_title": "Tax Summary",
"receipt_acknowledgement": "Thank you for supporting {organization}.",
"fiscal_year_start_month": 7,
"print_registration_number": false
}
'import requests
url = "https://api.gratona.com/v1/admin/jurisdiction-profile"
payload = {
"country_code": "US",
"tax_period_basis": "calendar_year",
"registration_label": "EIN",
"registration_number": "12-3456789",
"statement_title": "Tax Summary",
"receipt_acknowledgement": "Thank you for supporting {organization}.",
"fiscal_year_start_month": 7,
"print_registration_number": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
country_code: 'US',
tax_period_basis: 'calendar_year',
registration_label: 'EIN',
registration_number: '12-3456789',
statement_title: 'Tax Summary',
receipt_acknowledgement: 'Thank you for supporting {organization}.',
fiscal_year_start_month: 7,
print_registration_number: false
})
};
fetch('https://api.gratona.com/v1/admin/jurisdiction-profile', 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://api.gratona.com/v1/admin/jurisdiction-profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'country_code' => 'US',
'tax_period_basis' => 'calendar_year',
'registration_label' => 'EIN',
'registration_number' => '12-3456789',
'statement_title' => 'Tax Summary',
'receipt_acknowledgement' => 'Thank you for supporting {organization}.',
'fiscal_year_start_month' => 7,
'print_registration_number' => false
]),
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://api.gratona.com/v1/admin/jurisdiction-profile"
payload := strings.NewReader("{\n \"country_code\": \"US\",\n \"tax_period_basis\": \"calendar_year\",\n \"registration_label\": \"EIN\",\n \"registration_number\": \"12-3456789\",\n \"statement_title\": \"Tax Summary\",\n \"receipt_acknowledgement\": \"Thank you for supporting {organization}.\",\n \"fiscal_year_start_month\": 7,\n \"print_registration_number\": false\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.gratona.com/v1/admin/jurisdiction-profile")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"country_code\": \"US\",\n \"tax_period_basis\": \"calendar_year\",\n \"registration_label\": \"EIN\",\n \"registration_number\": \"12-3456789\",\n \"statement_title\": \"Tax Summary\",\n \"receipt_acknowledgement\": \"Thank you for supporting {organization}.\",\n \"fiscal_year_start_month\": 7,\n \"print_registration_number\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/jurisdiction-profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"country_code\": \"US\",\n \"tax_period_basis\": \"calendar_year\",\n \"registration_label\": \"EIN\",\n \"registration_number\": \"12-3456789\",\n \"statement_title\": \"Tax Summary\",\n \"receipt_acknowledgement\": \"Thank you for supporting {organization}.\",\n \"fiscal_year_start_month\": 7,\n \"print_registration_number\": false\n}"
response = http.request(request)
puts response.read_body{
"profile": {
"country_code": "US",
"tax_period_basis": "calendar_year",
"registration_label": "EIN",
"registration_number": "12-3456789",
"statement_title": "Tax Summary",
"receipt_acknowledgement": "Thank you for supporting {organization}.",
"fiscal_year_start_month": 7,
"print_registration_number": false,
"client_id": 12,
"country_name": "United States",
"is_configured": false,
"supports_qcd": true,
"updated_at": "2026-10-20T10:00:00Z",
"updated_by": 42
},
"preview": {
"organization_name": "Example Nonprofit",
"period_label": "1 January 2026 – 31 December 2026",
"statement": {
"is_configured": false,
"country_code": "US",
"country_name": "United States",
"supports_qcd": true,
"statement_title": "Tax Summary",
"registration_label": "EIN",
"registration_number": "",
"receipt_acknowledgement": "Thank you for supporting Example Nonprofit.",
"period_label": "",
"page_preset": "us_letter_portrait"
}
},
"presets": {},
"countries": [
{
"code": "US",
"name": "United States"
}
],
"receipt_merge_tags": [
"registration_label"
]
}{
"message": "Unauthorized",
"status": "error"
}{
"message": "Not Found",
"status": "error"
}{
"errors": {},
"status": "error",
"message": "The given data was invalid."
}Authorizations
Passport bearer token authentication for legacy admin sessions.
Body
Validated request fields for this operation.
Supported ISO country code.
2"US"
Statement period convention.
calendar_year, fiscal_year "calendar_year"
Registration label; blank uses the selected country preset.
80"EIN"
Organization registration number; blank clears it.
80"12-3456789"
Statement title; blank uses the country preset.
120"Tax Summary"
Receipt wording with optional {organization}, {website} and {email} placeholders.
2000"Thank you for supporting {organization}."
Required for fiscal_year; ignored/cleared for calendar_year.
1 <= x <= 127
Whether statements print the registration number.
false
curl --request PUT \
--url https://api.gratona.com/v1/admin/jurisdiction-profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"country_code": "US",
"tax_period_basis": "calendar_year",
"registration_label": "EIN",
"registration_number": "12-3456789",
"statement_title": "Tax Summary",
"receipt_acknowledgement": "Thank you for supporting {organization}.",
"fiscal_year_start_month": 7,
"print_registration_number": false
}
'import requests
url = "https://api.gratona.com/v1/admin/jurisdiction-profile"
payload = {
"country_code": "US",
"tax_period_basis": "calendar_year",
"registration_label": "EIN",
"registration_number": "12-3456789",
"statement_title": "Tax Summary",
"receipt_acknowledgement": "Thank you for supporting {organization}.",
"fiscal_year_start_month": 7,
"print_registration_number": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
country_code: 'US',
tax_period_basis: 'calendar_year',
registration_label: 'EIN',
registration_number: '12-3456789',
statement_title: 'Tax Summary',
receipt_acknowledgement: 'Thank you for supporting {organization}.',
fiscal_year_start_month: 7,
print_registration_number: false
})
};
fetch('https://api.gratona.com/v1/admin/jurisdiction-profile', 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://api.gratona.com/v1/admin/jurisdiction-profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'country_code' => 'US',
'tax_period_basis' => 'calendar_year',
'registration_label' => 'EIN',
'registration_number' => '12-3456789',
'statement_title' => 'Tax Summary',
'receipt_acknowledgement' => 'Thank you for supporting {organization}.',
'fiscal_year_start_month' => 7,
'print_registration_number' => false
]),
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://api.gratona.com/v1/admin/jurisdiction-profile"
payload := strings.NewReader("{\n \"country_code\": \"US\",\n \"tax_period_basis\": \"calendar_year\",\n \"registration_label\": \"EIN\",\n \"registration_number\": \"12-3456789\",\n \"statement_title\": \"Tax Summary\",\n \"receipt_acknowledgement\": \"Thank you for supporting {organization}.\",\n \"fiscal_year_start_month\": 7,\n \"print_registration_number\": false\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.gratona.com/v1/admin/jurisdiction-profile")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"country_code\": \"US\",\n \"tax_period_basis\": \"calendar_year\",\n \"registration_label\": \"EIN\",\n \"registration_number\": \"12-3456789\",\n \"statement_title\": \"Tax Summary\",\n \"receipt_acknowledgement\": \"Thank you for supporting {organization}.\",\n \"fiscal_year_start_month\": 7,\n \"print_registration_number\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/jurisdiction-profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"country_code\": \"US\",\n \"tax_period_basis\": \"calendar_year\",\n \"registration_label\": \"EIN\",\n \"registration_number\": \"12-3456789\",\n \"statement_title\": \"Tax Summary\",\n \"receipt_acknowledgement\": \"Thank you for supporting {organization}.\",\n \"fiscal_year_start_month\": 7,\n \"print_registration_number\": false\n}"
response = http.request(request)
puts response.read_body{
"profile": {
"country_code": "US",
"tax_period_basis": "calendar_year",
"registration_label": "EIN",
"registration_number": "12-3456789",
"statement_title": "Tax Summary",
"receipt_acknowledgement": "Thank you for supporting {organization}.",
"fiscal_year_start_month": 7,
"print_registration_number": false,
"client_id": 12,
"country_name": "United States",
"is_configured": false,
"supports_qcd": true,
"updated_at": "2026-10-20T10:00:00Z",
"updated_by": 42
},
"preview": {
"organization_name": "Example Nonprofit",
"period_label": "1 January 2026 – 31 December 2026",
"statement": {
"is_configured": false,
"country_code": "US",
"country_name": "United States",
"supports_qcd": true,
"statement_title": "Tax Summary",
"registration_label": "EIN",
"registration_number": "",
"receipt_acknowledgement": "Thank you for supporting Example Nonprofit.",
"period_label": "",
"page_preset": "us_letter_portrait"
}
},
"presets": {},
"countries": [
{
"code": "US",
"name": "United States"
}
],
"receipt_merge_tags": [
"registration_label"
]
}{
"message": "Unauthorized",
"status": "error"
}{
"message": "Not Found",
"status": "error"
}{
"errors": {},
"status": "error",
"message": "The given data was invalid."
}