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. The number is stored encrypted and only ever returned masked; it is never logged or audited.
POST
/api/v1/accounting/company.shareholders.taxNumberPermissions
accounting:readaccounting:writeaccounting:admin
Who can call it
admin
Retries
No idempotency key
MCP
accounting_company_shareholders_tax_numberFields
holderIdstringRequiredMatches ^[a-z0-9][a-z0-9-]{7,39}$
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.
POST/api/v1/accounting/company.shareholders.taxNumber
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.