Pay & Compensation
Expenses

Calculate per diem expense daily limits

Changed on

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

  1. 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).
  2. Call GET /v1/employments/{employment_id}/per-diem-expense-claim-types to list selectable optional claim codes for the trip destination and start date.
  3. 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 typeCategoryRead only ScopeWrite only Scope (read access implicit)
Company-scoped access tokenManage 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 tokenManage expenses (employment_payments)View expenses (expense:read)Manage expenses (expense:write)
post/v1/employments/{employment_id}/per-diem-expense-daily-limits

Request

  • Base URL
    https://gateway.remote.com
  • Auth
    • OAuth 2
      Authorization code/auth/oauth2/authorize
      Token URL/auth/oauth2/token
      Scopeshttps://gateway.remote.com/company.manage
    • or OAuth 2
      Authorization code/auth/oauth2/authorize
      Token URL/auth/oauth2/token
      Scopesexpense:read
    • or OAuth 2
      Authorization code/auth/oauth2/authorize
      Token URL/auth/oauth2/token
      Scopesall:read
    • or OAuth 2
      Authorization code/auth/oauth2/authorize
      Token URL/auth/oauth2/token
      Scopesall:write
    • or OAuth 2
      Client credentials
      Token URL/auth/oauth2/token
      Scopesexpense:read
    • or OAuth 2
      Client credentials
      Token URL/auth/oauth2/token
      Scopesall:read
    • or OAuth 2
      Client credentials
      Token URL/auth/oauth2/token
      Scopesall:write
    • or HTTP bearer

Path parameters

employment_id, string required

Employment ID

Request body

object required
city, string nullable

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, string required

Currency code in upper-case ISO 4217 format.

daily_claims, object[] required

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.

date_range, string[] required

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, string required

Destination country code in upper-case ISO 3166-1 alpha-3 format (e.g. FRA).

end_time, string required

End time in HH:MM (24-hour) format.

start_time, string required

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

PerDiemExpenseDailyLimitsResponse required
data, object required

Example response

{
  "data": {
    "daily_limits": [
      {
        "date": "2026-09-10",
        "limit": {
          "amount": 3900,
          "currency": "EUR"
        }
      },
      {
        "date": "2026-09-11",
        "limit": null
      }
    ]
  }
}

Changes