# M&A Advice

> Answers a mergers and acquisitions question for an accountant on acquisitions, mergers, asset or share purchases and due diligence. Send a topic that…

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

topic string Required

The acquisition question to answer, in plain language, up to 5000 characters.

deal_type enum · default acquisition

Kind of deal the question concerns, which shapes the checklist and the advice.

acquisition merger asset_purchase share_purchase due_diligence

jurisdiction enum

Jurisdiction whose rules apply, as a two-letter code: AU, GB, CA, US or NZ.

AU GB CA US NZ

client_context object

Free-form facts about the buyer, the target and the deal that bear on the answer.

file_ids array of strings

Identifiers of uploaded files to draw on, such as deal documents, each as a UUID.

Returns

Skill executed successfully

skill string Required

Example advise_acquisition

output object Required

output.stub_fields array of strings

output.warnings array of strings

output.advice string · default

output.checklist array of strings

output.citations array of values

output.open_items array of strings

output.confidence number · default 0

correlation_id string Required

Errors

Status Type When

401 AUTH.TOKEN_INVALID Authentication required

403 PERMISSION.CAPABILITY_DENIED Insufficient permissions

404 SKILL.NOT_FOUND Skill not found

422 VALIDATION.INVALID_FORMAT Validation error

429 RATE_LIMIT.USER Rate limit exceeded

5XX INTERNAL.UNKNOWN Internal server error

[Next Payroll Compliance Advice →](https://heyarchie.com/en-gb/developers/api-reference/advisory/payroll-compliance-advice/)

```
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>"
  }
}
```

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