> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api-docs.papertracc.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api-docs.papertracc.com/_mcp/server.

# List Expenses

GET https://api.papertracc.com/v1/expenses?limit=20

Lists direct expenses.

Reference: https://api-docs.papertracc.com/papertracc/sales/expenses/list-expenses

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /expenses?limit=20:
    get:
      operationId: List Expenses
      summary: List Expenses
      description: Lists direct expenses.
      tags:
        - expenses
      parameters:
        - name: limit
          in: query
          description: Optional. Number of records to return.
          required: false
          schema:
            type: integer
        - name: Authorization
          in: header
          description: Bearer authentication
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Sales_Expenses_List Expenses_Response_200'
servers:
  - url: https://api.papertracc.com/v1
    description: Production
  - url: https://api.papertracc.com/rc-1
    description: Release Candidate 1
components:
  schemas:
    ExpensesLimit20GetResponsesContentApplicationJsonSchemaDataItemsItemsItems:
      type: object
      properties:
        rate:
          type: integer
        amount:
          type: integer
        detail:
          type: string
        tax_id:
          type: string
          format: uuid
        quantity:
          type: integer
        account_id:
          type: string
          format: uuid
        inventory_id:
          type: string
          format: uuid
        currency_code:
          type: string
      required:
        - rate
        - amount
        - detail
        - tax_id
        - quantity
        - account_id
        - inventory_id
        - currency_code
      title: >-
        ExpensesLimit20GetResponsesContentApplicationJsonSchemaDataItemsItemsItems
    ExpensesLimit20GetResponsesContentApplicationJsonSchemaDataItemsVendor:
      type: object
      properties:
        id:
          type: string
          format: uuid
        display_name:
          type: string
      required:
        - id
        - display_name
      title: ExpensesLimit20GetResponsesContentApplicationJsonSchemaDataItemsVendor
    ExpensesLimit20GetResponsesContentApplicationJsonSchemaDataItemsAdjustmentsItems:
      type: object
      properties:
        name:
          type: string
        type:
          type: string
        value:
          type: number
          format: double
        amount:
          type: integer
        operation:
          type: string
        account_id:
          type: string
          format: uuid
      required:
        - name
        - type
        - value
        - amount
        - operation
        - account_id
      title: >-
        ExpensesLimit20GetResponsesContentApplicationJsonSchemaDataItemsAdjustmentsItems
    ExpensesLimit20GetResponsesContentApplicationJsonSchemaDataItems:
      type: object
      properties:
        id:
          type: string
          format: uuid
        items:
          type: array
          items:
            $ref: >-
              #/components/schemas/ExpensesLimit20GetResponsesContentApplicationJsonSchemaDataItemsItemsItems
        amount:
          type: string
        status:
          type: string
        vendor:
          $ref: >-
            #/components/schemas/ExpensesLimit20GetResponsesContentApplicationJsonSchemaDataItemsVendor
        paid_by:
          type: string
        documents:
          type: array
          items:
            description: Any type
        vendor_id:
          type: string
          format: uuid
        account_id:
          type: string
          format: uuid
        created_at:
          type: string
          format: date-time
        project_id:
          type: string
        adjustments:
          type: array
          items:
            $ref: >-
              #/components/schemas/ExpensesLimit20GetResponsesContentApplicationJsonSchemaDataItemsAdjustmentsItems
        expense_date:
          type: string
          format: date-time
        currency_code:
          type: string
        exchange_rate:
          type: string
        journal_status:
          type: string
        journal_entry_id:
          type: string
        expense_reference:
          type: string
      required:
        - id
        - items
        - amount
        - status
        - vendor
        - paid_by
        - documents
        - vendor_id
        - account_id
        - created_at
        - project_id
        - adjustments
        - expense_date
        - currency_code
        - exchange_rate
        - journal_status
        - journal_entry_id
        - expense_reference
      title: ExpensesLimit20GetResponsesContentApplicationJsonSchemaDataItems
    Sales_Expenses_List Expenses_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: >-
              #/components/schemas/ExpensesLimit20GetResponsesContentApplicationJsonSchemaDataItems
        page:
          type: integer
        count:
          type: integer
        pages:
          type: integer
        keyset:
          description: Any type
        status:
          type: boolean
        last_id:
          description: Any type
        message:
          type: string
      required:
        - data
        - page
        - count
        - pages
        - status
        - message
      title: Sales_Expenses_List Expenses_Response_200
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    identityAuth:
      type: apiKey
      in: header
      name: identity
      description: The identity for the active project.

```

## Examples



**Response**

```json
{
  "data": [
    {
      "id": "0bc96ff4-cff0-448c-a96c-17030ca7cbb8",
      "items": [
        {
          "rate": 50000,
          "amount": 500000,
          "detail": "Consulting hours",
          "tax_id": "78c68f6d-d734-4822-9a6c-73f517a0e5c1",
          "quantity": 10,
          "account_id": "d037d299-3029-4dc7-8e72-172f80f23c4f",
          "inventory_id": "55a40b4d-a23a-49aa-a417-828913e9a5c8",
          "currency_code": "NGN"
        }
      ],
      "amount": "75000.00",
      "status": "POSTED",
      "vendor": {
        "id": "0cb2d1a5-2f50-43a1-8c3f-df06f998ef51",
        "display_name": "Global Softworks"
      },
      "paid_by": "user-token-hash",
      "documents": [],
      "vendor_id": "0cb2d1a5-2f50-43a1-8c3f-df06f998ef51",
      "account_id": "d037d299-3029-4dc7-8e72-172f80f23c4f",
      "created_at": "2026-06-18T10:00:00Z",
      "project_id": "spruce-demo",
      "adjustments": [
        {
          "name": "VAT",
          "type": "PERCENTAGE_RATE",
          "value": 7.5,
          "amount": 37500,
          "operation": "ADDITION",
          "account_id": "2b0d1461-e52e-4a1a-a69c-11801431c2c9"
        }
      ],
      "expense_date": "2026-06-18T10:00:00Z",
      "currency_code": "NGN",
      "exchange_rate": "1.00",
      "journal_status": "POSTED",
      "journal_entry_id": "JE-0002",
      "expense_reference": "EXP-0001"
    }
  ],
  "page": 0,
  "count": 1,
  "pages": 1,
  "status": true,
  "message": "Successfully fetched expenses"
}
```

**SDK Code**

```python Sales_Expenses_List Expenses_example
import requests

url = "https://api.papertracc.com/v1/expenses"

querystring = {"limit":"20"}

headers = {"Authorization": "Bearer <apiKey>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript Sales_Expenses_List Expenses_example
const url = 'https://api.papertracc.com/v1/expenses?limit=20';
const options = {method: 'GET', headers: {Authorization: 'Bearer <apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Sales_Expenses_List Expenses_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.papertracc.com/v1/expenses?limit=20"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Sales_Expenses_List Expenses_example
require 'uri'
require 'net/http'

url = URI("https://api.papertracc.com/v1/expenses?limit=20")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <apiKey>'

response = http.request(request)
puts response.read_body
```

```java Sales_Expenses_List Expenses_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.papertracc.com/v1/expenses?limit=20")
  .header("Authorization", "Bearer <apiKey>")
  .asString();
```

```php Sales_Expenses_List Expenses_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.papertracc.com/v1/expenses?limit=20', [
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Sales_Expenses_List Expenses_example
using RestSharp;

var client = new RestClient("https://api.papertracc.com/v1/expenses?limit=20");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Sales_Expenses_List Expenses_example
import Foundation

let headers = ["Authorization": "Bearer <apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.papertracc.com/v1/expenses?limit=20")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```