Skip to content
campaiDeveloper
campai.com

Finance

POST/{organizationId}/finance/receiptInbox/enable

Turn on receipt inbox

Turns on the receipt inbox: makes a secret email address and a Files folder its PDF, JPEG and PNG attachments land in. Takes full accounting, as only there incoming receipts exist. Does nothing when the inbox is on already

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • financesSettings.edit

Request

Path parameters

  • organizationIdidrequired
Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request POST 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/finance/receiptInbox/enable' \
  --header 'X-API-Key: YOUR_API_KEY'

Response

200 Successful response

No response body is specified.

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.