Skip to Content
BusinessReceipts Rules

List the business's receipt rules

GET
/v0/business/{business_id}/receipt-rules

How receipt requests treat each ledger in this business. A ledger is judged by the first of these that exists: the business's rule for it, the business's default (the rule with no ledger), the tenant's rule for its name, the tenant's default for the country. So a business with a default of its own follows none of the tenant's rules.

Scopes: business:read

Authorization

OAuth2ClientCredentialsBearer business:read
headerAuthorizationBearer <token>

Scope: business:read

Path Parameters

business_id*Business Id

The id of the business

Formatbiz_string

Response Body

Successful Response

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://api.sandbox.getasset.com/v0/business/biz_GA6EG2qFxA97NZHtxeLPUy/receipt-rules'
Example Response
{  "data": [    {      "id": "string",      "ledger_id": "ldg_GA6EG2qFxA97NZHtxeLPUy",      "ledger_name": "Meals & Entertainment",      "never_request": true,      "threshold_amount": 25,      "reason": "Meals need an itemized receipt for CRA."    }  ]}