# GET /companies/:company_id/accounting-contact

**Resource:** [Companies](./companies.md)  
**MCP tool:** `get_company_accounting_contact`  
**Scopes:** `companies:read`  
**Write operation:** no

Which Xero contact a company is billed as: its Xero ContactID, its name and email as Xero has them, and how many of the company's opportunities carry it. Invoices for the company go to this contact. When the workspace has several Xero organisations connected, pass xero_integration_id to say which one; each has its own contact.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `company_id` | path | string | yes |  |
| `xero_integration_id` | query | string | no | Xero organisation - the id of the Xero organisation (connection) this applies to. Only needed when the workspace has more than one Xero organisation connected; each organisation has its own contact for the company. |

## Request example

```bash
curl   "https://api.trustpager.com/functions/v1/api/v1/companies/:company_id/accounting-contact"   -H "Authorization: Bearer YOUR_API_KEY"
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`