tax.hst.evidence.download
Open one GST/HST supporting original through a fresh authenticated download, using kind receipt with entryId and evidenceId, or kind statement with accountId and documentId. Every GET rechecks current company access, account/period scope, expiry and revocation. Mixed-period or ambiguous originals are refused. Returns a login/OAuth-required URL, never a reusable storage token. Does not expose tax identity documents or export the books.
/api/v1/accounting/tax.hst.evidence.downloadPermissions
Who can call it
Retries
MCP
accounting_tax_hst_evidence_downloadFields
Shape 1: kind: "receipt"
kind"receipt"RequiredWhich kind of record or job this is.
entryIdstring (ID)RequiredThe ID of an accounting entry, from entries.list or attention.mine.
evidenceIdstring (ID)RequiredThe ID of the related record.
Shape 2: kind: "statement"
kind"statement"RequiredWhich kind of record or job this is.
accountIdstring (ID)RequiredThe ID of a bank, card or payment account, from accounts.list.
documentIdstring (ID)RequiredThe ID of the related record.
Example
curl -G https://app.getoatmilk.com/api/v1/accounting/tax.hst.evidence.download \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'kind=receipt' \
--data-urlencode 'entryId=7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10' \
--data-urlencode 'evidenceId=1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d'{
"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 -G https://app.getoatmilk.com/api/v1/accounting/tax.hst.evidence.download \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'kind=receipt' \
--data-urlencode 'entryId=7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10' \
--data-urlencode 'evidenceId=1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d'More in Reports and tax.