company.shareholders.taxNumber
Save or remove a shareholder's tax number for Schedule 50 and T5 slips: { holderId, kind (sin, bn with an optional program account, itn, or foreign with country), value, country? } or value null to remove it. SINs are checked with their check digit. Enter the number only in the signed-in shareholder form; API keys, MCP and Ask AI cannot accept it. Safe personalTax tools request details and open secure capture/consent forms. The number is stored encrypted and returned masked; audit records contain metadata only.
/api/v1/accounting/company.shareholders.taxNumberPermissions
Who can call it
Retries
MCP
Fields
holderIdstringRequiredMatches ^[a-z0-9][a-z0-9-]{7,39}$
expectedOrganizationIdstring1–200 characters
kindenumWhich kind of record or job this is.
sinbnitnforeignvaluestring or nullRequiredcountrystringexactly 2 characters
Example
curl https://app.getoatmilk.com/api/v1/accounting/company.shareholders.taxNumber \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"holderId": "aaaaaaaa",
"value": "example",
"kind": "sin"
}'{
"data": { … }
}Try it
Try it
Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.
curl https://app.getoatmilk.com/api/v1/accounting/company.shareholders.taxNumber \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"holderId": "aaaaaaaa",
"value": "example",
"kind": "sin"
}'More in Reports and tax.