> 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.

# Get Payables

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

Returns payable bills grouped by vendor.

Reference: https://api-docs.papertracc.com/papertracc/payments/get-payables

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /payments/payables?limit=20:
    get:
      operationId: Get Payables
      summary: Get Payables
      description: Returns payable bills grouped by vendor.
      tags:
        - payments
      parameters:
        - name: limit
          in: query
          description: Optional. Number of vendor groups 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/Payments_Get Payables_Response_200'
servers:
  - url: https://api.papertracc.com/v1
    description: Production
  - url: https://api.papertracc.com/rc-1
    description: Release Candidate 1
components:
  schemas:
    PaymentsPayablesLimit20GetResponsesContentApplicationJsonSchemaDataItemsBillsItemsAdjustmentsItems:
      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: >-
        PaymentsPayablesLimit20GetResponsesContentApplicationJsonSchemaDataItemsBillsItemsAdjustmentsItems
    PaymentsPayablesLimit20GetResponsesContentApplicationJsonSchemaDataItemsBillsItems:
      type: object
      properties:
        id:
          type: string
          format: uuid
        amount:
          type: string
        status:
          type: string
        due_date:
          type: string
          format: date-time
        bill_date:
          type: string
          format: date-time
        account_id:
          type: string
          format: uuid
        created_at:
          type: string
          format: date-time
        project_id:
          type: string
        total_paid:
          type: string
        adjustments:
          type: array
          items:
            $ref: >-
              #/components/schemas/PaymentsPayablesLimit20GetResponsesContentApplicationJsonSchemaDataItemsBillsItemsAdjustmentsItems
        currency_code:
          type: string
        bill_reference:
          type: string
        journal_status:
          type: string
        remaining_balance:
          type: string
      required:
        - id
        - amount
        - status
        - due_date
        - bill_date
        - account_id
        - created_at
        - project_id
        - total_paid
        - adjustments
        - currency_code
        - bill_reference
        - journal_status
        - remaining_balance
      title: >-
        PaymentsPayablesLimit20GetResponsesContentApplicationJsonSchemaDataItemsBillsItems
    PaymentsPayablesLimit20GetResponsesContentApplicationJsonSchemaDataItemsVendor:
      type: object
      properties:
        id:
          type: string
          format: uuid
        display_name:
          type: string
      required:
        - id
        - display_name
      title: >-
        PaymentsPayablesLimit20GetResponsesContentApplicationJsonSchemaDataItemsVendor
    PaymentsPayablesLimit20GetResponsesContentApplicationJsonSchemaDataItems:
      type: object
      properties:
        bills:
          type: array
          items:
            $ref: >-
              #/components/schemas/PaymentsPayablesLimit20GetResponsesContentApplicationJsonSchemaDataItemsBillsItems
        vendor:
          $ref: >-
            #/components/schemas/PaymentsPayablesLimit20GetResponsesContentApplicationJsonSchemaDataItemsVendor
        total_due:
          type: string
        vendor_id:
          type: string
          format: uuid
        currency_code:
          type: string
      required:
        - bills
        - vendor
        - total_due
        - vendor_id
        - currency_code
      title: PaymentsPayablesLimit20GetResponsesContentApplicationJsonSchemaDataItems
    Payments_Get Payables_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: >-
              #/components/schemas/PaymentsPayablesLimit20GetResponsesContentApplicationJsonSchemaDataItems
        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: Payments_Get Payables_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": [
    {
      "bills": [
        {
          "id": "45c6e26d-e132-4548-8e2e-5bfc467cf94a",
          "amount": "250000.00",
          "status": "POSTED",
          "due_date": "2026-07-18T10:00:00Z",
          "bill_date": "2026-06-18T10:00:00Z",
          "account_id": "d037d299-3029-4dc7-8e72-172f80f23c4f",
          "created_at": "2026-06-18T10:00:00Z",
          "project_id": "spruce-demo",
          "total_paid": "0.00",
          "adjustments": [
            {
              "name": "VAT",
              "type": "PERCENTAGE_RATE",
              "value": 7.5,
              "amount": 37500,
              "operation": "ADDITION",
              "account_id": "2b0d1461-e52e-4a1a-a69c-11801431c2c9"
            }
          ],
          "currency_code": "NGN",
          "bill_reference": "BILL-0001",
          "journal_status": "POSTED",
          "remaining_balance": "250000.00"
        }
      ],
      "vendor": {
        "id": "0cb2d1a5-2f50-43a1-8c3f-df06f998ef51",
        "display_name": "Global Softworks"
      },
      "total_due": "250000.00",
      "vendor_id": "0cb2d1a5-2f50-43a1-8c3f-df06f998ef51",
      "currency_code": "NGN"
    }
  ],
  "page": 0,
  "count": 1,
  "pages": 1,
  "status": true,
  "message": "Successfully fetched payables"
}
```

**SDK Code**

```python Payments_Get Payables_example
import requests

url = "https://api.papertracc.com/v1/payments/payables"

querystring = {"limit":"20"}

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

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

print(response.json())
```

```javascript Payments_Get Payables_example
const url = 'https://api.papertracc.com/v1/payments/payables?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 Payments_Get Payables_example
package main

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

func main() {

	url := "https://api.papertracc.com/v1/payments/payables?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 Payments_Get Payables_example
require 'uri'
require 'net/http'

url = URI("https://api.papertracc.com/v1/payments/payables?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 Payments_Get Payables_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

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

```php Payments_Get Payables_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

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

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

```csharp Payments_Get Payables_example
using RestSharp;

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

```swift Payments_Get Payables_example
import Foundation

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.papertracc.com/v1/payments/payables?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()
```