Talk with Archie
API reference › Advisory
Skills › Advisory

M&A Advice

POST/api/v1/skills/acquisitions.advise/invoke
Answers a mergers and acquisitions question for an accountant on acquisitions, mergers, asset or share purchases and due diligence. Send a topic that describes the question, and optionally the deal type, the jurisdiction, client context and the uploaded files to draw on. Returns advice with a checklist, citations, open items and a confidence score.
Body parameters
topicstringRequired
The acquisition question to answer, in plain language, up to 5000 characters.
deal_typeenum · default acquisition
Kind of deal the question concerns, which shapes the checklist and the advice.
acquisitionmergerasset_purchaseshare_purchasedue_diligence
jurisdictionenum
Jurisdiction whose rules apply, as a two-letter code: AU, GB, CA, US or NZ.
AUGBCAUSNZ
client_contextobject
Free-form facts about the buyer, the target and the deal that bear on the answer.
file_idsarray of strings
Identifiers of uploaded files to draw on, such as deal documents, each as a UUID.
Returns

Skill executed successfully

skillstringRequired
Example advise_acquisition
outputobjectRequired
output.stub_fieldsarray of strings
output.warningsarray of strings
output.advicestring · default
output.checklistarray of strings
output.citationsarray of values
output.open_itemsarray of strings
output.confidencenumber · default 0
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/acquisitions.advise/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "topic": "string",
       "deal_type": "acquisition",
       "jurisdiction": null,
       "client_context": {},
       "file_ids": [
         "00000000-0000-0000-0000-000000000000"
       ]
     }'
from heyarchie import Archie
archie = Archie(api_key="sk_...")
result = archie.skills.invoke(
    "acquisitions.advise",
    topic="string",
    deal_type="acquisition",
    jurisdiction=None,
    client_context={},
    file_ids=["00000000-0000-0000-0000-000000000000"],
)
print(result)
import { Archie } from "heyarchie";

const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("acquisitions.advise", {
  "topic": "string",
  "deal_type": "acquisition",
  "jurisdiction": null,
  "client_context": {},
  "file_ids": [
    "00000000-0000-0000-0000-000000000000"
  ]
});
console.log(result);
Response
{
  "skill": "advise_acquisition",
  "output": {
    "advice": "A share purchase brings the target's history with it, so due diligence should concentrate on tax exposures, contracts that change on a change of control and the quality of the target's financial records.",
    "checklist": [
      "Review the last three years of tax returns and any open enquiries.",
      "List contracts with change of control clauses.",
      "Reconcile management accounts to filed accounts."
    ],
    "citations": [
      {
        "confidence": 0.8,
        "section": "Stamp duty reserve tax on shares",
        "standard": "Finance Act 1986"
      }
    ],
    "confidence": 0.79,
    "open_items": [
      "Obtain the target's latest management accounts."
    ]
  },
  "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.