Calculate per diem expense daily limits
Changed onCalculates 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-cities to discover valid city codes for the destination country (omit city to use the country-wide rate).
- Call GET /v1/employments/{employment_id}/per-diem-expense-claim-types to list selectable optional claim codes for the trip destination and start date.
- Call POST /v1/employments/{employment_id}/per-diem-expense-daily-limits with 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), and daily_claims must contain between 1 and 90 entries, each with a unique date inside the trip's valid range.
- Amounts in cents: limit.amount is 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 requested currency on 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 returns 422.
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 the urn:ietf:params:oauth:grant-type:jwt-bearer grant 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) |
Request
- Base URLhttps://gateway.remote.com
- Auth
- OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/tokenScopeshttps://gateway.remote.com/company.manage
- or OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/tokenScopesexpense:read
- or OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/tokenScopesall:read
- or OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/tokenScopesall:write
- or OAuth 2Client credentialsToken URL/auth/oauth2/tokenScopesexpense:read
- or OAuth 2Client credentialsToken URL/auth/oauth2/tokenScopesall:read
- or OAuth 2Client credentialsToken URL/auth/oauth2/tokenScopesall:write
- or HTTP bearer
Path parameters
Employment ID
Request body
Optional per diem city code in lowercase <alpha3>-<city> format (for example fra-paris), obtained from GET /v1/employments/{employment_id}/per-diem-expense-cities. Omit to use the country-wide rate.
Currency code in upper-case ISO 4217 format.
Optional per diem claims selected for each day (1 to 90 entries). Each date must be unique and within date_range. Only optional claim codes from GET /v1/employments/{employment_id}/per-diem-expense-claim-types may be sent; standard claims are applied automatically and must not be included.
Trip start and end dates [start_date, end_date] in ISO 8601 format (YYYY-MM-DD). Must contain exactly 2 dates with start_date <= end_date, spanning at most 90 days (inclusive).
Destination country code in upper-case ISO 3166-1 alpha-3 format (e.g. FRA).
End time in HH:MM (24-hour) format.
Start time in HH:MM (24-hour) format.
Example request
{
"city": "fra-paris",
"currency": "EUR",
"daily_claims": [
{
"claims": [
"breakfast",
"lunch"
],
"date": "2026-09-10"
},
{
"claims": [],
"date": "2026-09-11"
}
],
"date_range": [
"2026-09-10",
"2026-09-12"
],
"destination_country": "FRA",
"end_time": "18:00",
"start_time": "08:00"
}Response
Success
Example response
{
"data": {
"daily_limits": [
{
"date": "2026-09-10",
"limit": {
"amount": 3900,
"currency": "EUR"
}
},
{
"date": "2026-09-11",
"limit": null
}
]
}
}Changes
- info
endpoint added
- info