Get the bill inbox
Get the legal entity’s accounts payable email address and the senders allowed to email it. Invoices sent there become draft bills.
Authorizations
User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.
Headers
The legal entity to act on. Required on every request; a user API key can act on any legal entity its user has access to.
^le_[a-zA-Z0-9]+$Response
The inbox.
The legal entity's accounts-payable email inbox. Invoices emailed to address are parsed into draft bills with source: email.
The address to forward invoices to. Absent only for a legal entity that has not finished onboarding.
"acme@ap.slash.com"
Senders allowlisted for the inbox, oldest first. Emails from users of the legal entity, addresses on its company domain and known vendors' domains are accepted without an entry here.