---
updatedAt: 2025-06-05T21:41:15.000Z
agentTools:
  projectIndex: https://apidocs.officient.io/llms.txt
---

# Expense detail

List all expenses

Scope required: expenses:read

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "officient-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.officient.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/1.0/expenses/{expense_id}/detail": {
      "get": {
        "summary": "Expense detail",
        "description": "List all expenses",
        "operationId": "expense-detail",
        "parameters": [
          {
            "name": "expense id",
            "in": "path",
            "description": "the specific id we want to see the details about",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\t\"data\": {\n\t\t\"id\": 77,\n\t\t\"employee_id\": 21310,\n\t\t\"date\": \"2023-06-09\",\n\t\t\"time_created\": 1686300546,\n\t\t\"status\": \"approved\",\n\t\t\"price\": \"2.00\",\n\t\t\"title\": \"zonder amount\",\n\t\t\"description\": \"\",\n\t\t\"file_id\": -1,\n\t\t\"payout_method\": \"\",\n\t\t\"payout_period\": null,\n\t\t\"payout_period_frequency\": null,\n\t\t\"payout_year\": null,\n\t\t\"expense_category_id\": 5,\n\t\t\"filename\": null,\n\t\t\"category_id\": 5,\n\t\t\"category_name\": \"we\",\n\t\t\"category_way_of_input\": \"kilometer-allowance\",\n\t\t\"price_per_kilometer\": \"0.2000\",\n\t\t\"distance\": \"10.00\",\n\t\t\"request_id\": null,\n\t\t\"metadata\": \"\\\"{\\\\\\\"startLocation\\\\\\\":{\\\\\\\"description\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"place_id\\\\\\\":0},\\\\\\\"endLocation\\\\\\\":null,\\\\\\\"suggestedDistance\\\\\\\":0,\\\\\\\"kindOfRide\\\\\\\":\\\\\\\"double\\\\\\\"}\\\"\",\n\t\t\"dates\": \"[\\\"12\\\\\\/06\\\\\\/2023\\\"]\",\n\t\t\"date_approved\": \"2023-06-09\",\n\t\t\"payout_other_reason\": \"\",\n\t\t\"deleted\": 1,\n\t\t\"payout_status\": \"\",\n\t\t\"date_created_dmy\": \"09\\/06\\/2023\"\n\t}\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "example": 77,
                          "default": 0
                        },
                        "employee_id": {
                          "type": "integer",
                          "example": 21310,
                          "default": 0
                        },
                        "date": {
                          "type": "string",
                          "example": "2023-06-09"
                        },
                        "time_created": {
                          "type": "integer",
                          "example": 1686300546,
                          "default": 0
                        },
                        "status": {
                          "type": "string",
                          "example": "approved"
                        },
                        "price": {
                          "type": "string",
                          "example": "2.00"
                        },
                        "title": {
                          "type": "string",
                          "example": "zonder amount"
                        },
                        "description": {
                          "type": "string",
                          "example": ""
                        },
                        "file_id": {
                          "type": "integer",
                          "example": -1,
                          "default": 0
                        },
                        "payout_method": {
                          "type": "string",
                          "example": ""
                        },
                        "payout_period": {},
                        "payout_period_frequency": {},
                        "payout_year": {},
                        "expense_category_id": {
                          "type": "integer",
                          "example": 5,
                          "default": 0
                        },
                        "filename": {},
                        "category_id": {
                          "type": "integer",
                          "example": 5,
                          "default": 0
                        },
                        "category_name": {
                          "type": "string",
                          "example": "we"
                        },
                        "category_way_of_input": {
                          "type": "string",
                          "example": "kilometer-allowance"
                        },
                        "price_per_kilometer": {
                          "type": "string",
                          "example": "0.2000"
                        },
                        "distance": {
                          "type": "string",
                          "example": "10.00"
                        },
                        "request_id": {},
                        "metadata": {
                          "type": "string",
                          "example": "\"{\\\"startLocation\\\":{\\\"description\\\":\\\"\\\",\\\"place_id\\\":0},\\\"endLocation\\\":null,\\\"suggestedDistance\\\":0,\\\"kindOfRide\\\":\\\"double\\\"}\""
                        },
                        "dates": {
                          "type": "string",
                          "example": "[\"12\\/06\\/2023\"]"
                        },
                        "date_approved": {
                          "type": "string",
                          "example": "2023-06-09"
                        },
                        "payout_other_reason": {
                          "type": "string",
                          "example": ""
                        },
                        "deleted": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "payout_status": {
                          "type": "string",
                          "example": ""
                        },
                        "date_created_dmy": {
                          "type": "string",
                          "example": "09/06/2023"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\t\"status_code\": 400,\n\t\"reason_phrase\": \"Expense id has to be numeric\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status_code": {
                      "type": "integer",
                      "example": 400,
                      "default": 0
                    },
                    "reason_phrase": {
                      "type": "string",
                      "example": "Expense id has to be numeric"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```