proposals.create
Suggest a change to a record for someone to review. Nothing changes until the suggestion is approved. A newer suggestion for the same record and field replaces the older one. Supply subjectType, subjectId, field, proposedValue, reasoning, optional evidence, and idempotencyKey.
/api/v1/accounting/proposals.createPermissions
Who can call it
Retries
MCP
accounting_proposals_createFields
subjectTypeenumRequiredThe kind of record this is about, such as entry, invoice or mail.
invoiceentrymailpartynotion_linkcontractormerchantsubjectIdstringRequiredThe ID of the record this is about.
1–200 characters
fieldenumRequiredstatuscategoryclassificationpaymentmappingdetailsproposedValuemapRequiredcurrentValuemapreasoningstringRequired3–2000 characters
evidencearray of objectsat most 20 items
confidenceenumlowmediumhighDefault "medium"
freshnessenumneweroldersameunknownDefault "unknown"
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/proposals.create \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"subjectType": "invoice",
"subjectId": "example",
"field": "status",
"proposedValue": {},
"reasoning": "example"
}'{
"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/proposals.create \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"subjectType": "invoice",
"subjectId": "example",
"field": "status",
"proposedValue": {},
"reasoning": "example"
}'More in Administration.