personalTax.share.prepare
Prepare an exact review of sharing your saved number for one organization, shareholder, purpose and fiscal period, optionally with named accountantUserIds. Include expectedRevision from personalTax.get, expectedRegisterRevision from company.list, expiry and idempotencyKey. Returns a metadata-only review and secure browser handoff. Only you confirm the consent in your signed-in account; this tool never shares the number.
/api/v1/accounting/personalTax.share.preparePermissions
Who can call it
Retries
MCP
accounting_personal_tax_share_prepareFields
organizationIdstringRequiredThe company to work in, for people who belong to more than one. API keys belong to one company.
1–200 characters
holderIdstringRequiredMatches ^[a-z0-9][a-z0-9-]{7,39}$
purposeenumRequiredt2_schedule_50t5_slipperiodobjectRequiredThe period to cover.
No other fields
accountantUserIdsarray of stringsRequiredA list of record IDs.
at most 20 items · each 1–200 characters
expiresAtstring (date-time) or nullRequiredWhen this stops working, as an ISO 8601 date and time.
expectedRevisionintegerRequiredThe record's current revision, from the last time you read it. If someone changed the record since, the request is refused with a conflict so you can reload and check before trying again.
0 to 9007199254740991
expectedRegisterRevisionintegerRequiredThe related record's current revision, from the last time you read it.
0 to 9007199254740991
idempotencyKeystringRequiredAny unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match.
8–200 characters
Example
curl https://app.getoatmilk.com/api/v1/accounting/personalTax.share.prepare \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"organizationId": "example",
"holderId": "aaaaaaaa",
"purpose": "t2_schedule_50",
"period": {
"from": "2026-09-01",
"to": "2026-09-30",
"kind": "corporate"
},
"accountantUserIds": [
"example"
],
"expiresAt": "2026-09-30T14:00:00Z",
"expectedRevision": 3,
"expectedRegisterRevision": 3
}'{
"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/personalTax.share.prepare \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"organizationId": "example",
"holderId": "aaaaaaaa",
"purpose": "t2_schedule_50",
"period": {
"from": "2026-09-01",
"to": "2026-09-30",
"kind": "corporate"
},
"accountantUserIds": [
"example"
],
"expiresAt": "2026-09-30T14:00:00Z",
"expectedRevision": 3,
"expectedRegisterRevision": 3
}'More in Reports and tax.