Invite your accountant

Once a creditor has been created inside our API, it is possible to invite the creditor’s accountant. This is particularly useful if the accountant is responsible for managing account receivables on behalf of the creditor.

When inviting an accountant, you will typically grant access to the creditor inside the accountant’s own workspace.

You can do this via the following API endpoint:

curl 'https://api.kravia.ai/api/v2/creditor/{creditorId}/invite' \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: YOUR_SECRET_TOKEN' \
  --data '{
  "email": "primary.contact@accounting-office.com",
  "name": "John Doe",
  "isAccountant": true,
  "countryCode": "NO",
  "organizationNumber": "123456789"
}'