post
https://gateway.remote.com/v1/employments//per-diem-expense-daily-limits
Calculates the tax-free daily per diem limit for each day of a business trip for a full-time employment.
This endpoint is read-only and does not persist any data; it uses POST because the input payload is nested.
Typical flow
- Call
GET /v1/employments/{employment_id}/per-diem-expense-citiesto discover valid city codes for the destination country (omitcityto use the country-wide rate). - Call
GET /v1/employments/{employment_id}/per-diem-expense-claim-typesto list selectable optional claim codes for the trip destination and start date. - Call
POST /v1/employments/{employment_id}/per-diem-expense-daily-limitswith the trip dates, times, currency, and per-day optional claims.
Calculation rules
- Standard claims are always counted automatically and must not be sent in
daily_claims[].claims; only optional claim codes are accepted. - 90-day cap: the trip (
date_range) may span at most 90 days (inclusive), anddaily_claimsmust contain between 1 and 90 entries, each with a unique date inside the trip's valid range. - Amounts in cents:
limit.amountis returned as an integer in the currency's minor unit (cents). limit: null: returned for a day when no limit could be computed — either because all claim rate expressions failed to evaluate (or produced no values) or because currency conversion from the configured rate currency to the requestedcurrencyon the trip start date (date_range[0]) was unavailable.- Mixed-currency rate normalization: if a country's configured per diem rates use mixed currencies and cannot be converted to the rate set's evaluation currency on the trip start date (
date_range[0]), the endpoint returns422.
Authentication
This endpoint accepts any one of the following token types:
- Company-scoped access token (
OAuth2AuthorizationCode) — obtained by a company manager through the Authorization Code flow or the Refresh Token flow. See Authentication for partners. - Company-scoped access token (assertion) (
OAuth2CompanyManagerAssertion) — obtained through theurn:ietf:params:oauth:grant-type:jwt-bearergrant for a company manager. See OAuth Assertion. - Customer API token (
CustomerAPIToken) — generated by the customer on their Integration Settings page, with the scopes they choose there. See Authorization for customers.
Scopes
Any one of the scopes in a token type's row is enough. all:read and all:write work too.
| Token type | Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|---|
| Company-scoped access token | Manage expenses (employment_payments) | View expenses (expense:read) | Manage expenses (expense:write) |
| Company-scoped access token (assertion) | Manage expenses (employment_payments) | View expenses (expense:read) | Manage expenses (expense:write) |
| Customer API token | Manage expenses (employment_payments) | View expenses (expense:read) | Manage expenses (expense:write) |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Callback