API referenceReferenceExpense claims
Preview per diem days without saving
404 when the country hides expense claims or the business flag is off.
Path Parameters
business_slug*string
Business slug that scopes this request. If you do not have one yet, call common_accessible_businesses_list and pick a slug from the response.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/business/string/expense_claims/per_diem_preview/" \ -H "Content-Type: application/json" \ -d '{ "start_at": "2019-08-24T14:15:22Z", "end_at": "2019-08-24T14:15:22Z", "destination": "string" }'[ { "id": 0, "day_index": 0, "starts_at": "2019-08-24T14:15:22Z", "ends_at": "2019-08-24T14:15:22Z", "duration_minutes": 0, "destination": "string", "destination_label": "string", "destination_override": "string", "allowance_type": "NONE", "is_return_day": true, "requires_review": true, "after_return": true, "unresolved_followup": true, "basis": "string", "free_meals": 0, "meal_allowance": true, "meal_allowance_available": true, "manual_amount": 0, "exception_basis": "string", "exception_set_by": 0, "exception_set_at": "2019-08-24T14:15:22Z", "rate": "string", "amount": 0.1, "tax_free_amount": 0.1 }]