Get a tenant receipt rule
Scopes: tenant:read
OAuth2ClientCredentialsBearer tenant:readAuthorizationBearer <token>Scope: tenant:read
rule_id*Rule IdThe id of the receipt rule
trr_stringSuccessful Response
application/json- response
id*Idtrr_stringcountry*BusinessCountryThe country of the businesses the rule applies to.
"CA""US"ledger_name*|The name of the ledger the rule applies to, of any type. Matched case-insensitively against each business's ledgers, so it can name a ledger no business has yet. Omit it for the country's default rule, which covers every expense ledger without a rule of its own. A country with no default rule never asks for receipts on those ledgers, and other ledgers without a rule are never asked for receipts.
never_request*Never RequestNever request a receipt for spend on this ledger, whatever its amount. The threshold is kept for when this is turned off again. On a default rule, this turns requests off for the country's other expense ledgers.
threshold_amount*Threshold AmountRequest a receipt for spend on this ledger at or above this amount, in the country's currency. 0 means every spend.
reason*|Shown on the request in place of the default message, so the business knows why this receipt matters.
curl -X GET 'https://api.sandbox.getasset.com/v0/tenant/receipt-rules/trr_GA6EG2qFxA97NZHtxeLPUy'{ "id": "string", "country": "CA", "ledger_name": "Meals & Entertainment", "never_request": true, "threshold_amount": 25, "reason": "Meals need an itemized receipt for CRA."}