Talk with Archie
API reference › Advisory
Skills › Advisory

Estimate Quarterly

POST/api/v1/skills/tax.quarterly.estimate/invoke
Works out the next US federal estimated tax instalment for a client under the prior-year, annualised or current-year safe harbor rule, and tracks the cumulative amount required so far. Send the client_id, the tax_year and the quarter, and optionally the entity type, safe harbor method, prior-year tax and current year-to-date income. Returns the estimate worksheet with the due date, the IRS form, a line-item breakdown and an underpayment risk flag.
Body parameters
client_idstring · uuidRequired
Identifier of the client the estimate is for, as a UUID.
tax_yearstringRequired
Tax year, e.g. '2026'.
quarterenumRequired
Quarter of the tax year the payment is for, from Q1 to Q4.
Q1Q2Q3Q4
entity_typeenum · default individual
Kind of taxpayer, which decides the rules and the form the payment is made on.
individualcorporations_corporationpartnershiptrust
safe_harbor_methodenum · default prior_year
Safe harbor rule used to set the payment: prior year, annualised or current year.
prior_yearannualisedcurrent_year
prior_year_taxnumber or string
If known; otherwise the handler reads from prior-year TB.
current_ytd_incomenumber or string
Override for current-year YTD income (skips TB read).
tax_jurisdictionstring · default US-federal
US-federal (IRS) by default. State-level extensions use US-{state} codes (e.g. US-CA for California Form 540-ES).
Returns

Skill executed successfully

skillstringRequired
Example tax_quarterly_estimate
outputobjectRequired
output.artifact_idstring · uuid
output.download_urlstring · default
output.summarystring · default
output.citationsarray of values
output.warningsarray of strings
output.stub_fieldsarray of strings
output.estimate_amountnumber or string · default 0
output.cumulative_requirednumber or string · default 0
Running sum of payments required YTD through this quarter.
output.safe_harbor_basisenum · default prior_year
prior_yearannualisedcurrent_year
output.due_datestring · date
output.irs_formstring · default
The IRS form applicable, e.g. '1040-ES' (individuals), '1120-W' (corp).
output.breakdownobject
Line-item working — prior-year tax, safe-harbor pct, quarterly target.
output.underpayment_riskenum · default none
nonelowmediumhigh
correlation_idstringRequired
Errors
StatusTypeWhen
401AUTH.TOKEN_INVALIDAuthentication required
403PERMISSION.CAPABILITY_DENIEDInsufficient permissions
404SKILL.NOT_FOUNDSkill not found
422VALIDATION.INVALID_FORMATValidation error
429RATE_LIMIT.USERRate limit exceeded
5XXINTERNAL.UNKNOWNInternal server error
curl https://uk.heyarchie.com/api/v1/skills/tax.quarterly.estimate/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "client_id": "00000000-0000-0000-0000-000000000000",
       "tax_year": "string",
       "quarter": "Q1",
       "entity_type": "individual",
       "safe_harbor_method": "prior_year",
       "prior_year_tax": null,
       "current_ytd_income": null,
       "tax_jurisdiction": "string"
     }'
from heyarchie import Archie
archie = Archie(api_key="sk_...")
result = archie.skills.invoke(
    "tax.quarterly.estimate",
    client_id="00000000-0000-0000-0000-000000000000",
    tax_year="string",
    quarter="Q1",
    entity_type="individual",
    safe_harbor_method="prior_year",
    prior_year_tax=None,
    current_ytd_income=None,
    tax_jurisdiction="string",
)
print(result)
import { Archie } from "heyarchie";

const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("tax.quarterly.estimate", {
  "client_id": "00000000-0000-0000-0000-000000000000",
  "tax_year": "string",
  "quarter": "Q1",
  "entity_type": "individual",
  "safe_harbor_method": "prior_year",
  "prior_year_tax": null,
  "current_ytd_income": null,
  "tax_jurisdiction": "string"
});
console.log(result);
Response
{
  "skill": "tax_quarterly_estimate",
  "output": {
    "artifact_id": "0a7e4c92-3b61-4d85-9f2e-d1c8b5a63e70",
    "breakdown": {
      "prior_year_tax": "34000.00",
      "quarterly_target": "8500.00",
      "safe_harbor_pct": "100"
    },
    "cumulative_required": "25500.00",
    "due_date": "2026-09-15",
    "estimate_amount": "8500.00",
    "irs_form": "1120-W",
    "safe_harbor_basis": "prior_year",
    "summary": "Third quarter estimate for Northwind Trading Inc under the prior-year safe harbor: 8500.00 due on 2026-09-15.",
    "underpayment_risk": "low"
  },
  "correlation_id": "<string>"
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}

Every response also carries X-Request-ID. Quote it if you write to us about a call.