Get a JIB

Returns the JIB header plus a computed totalAmount and every entry.

Path Parameters
  • id
    Type: string
    required
Responses
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/jibs/{id}
curl 'https://app.joltly.io/api/v1/jibs/{id}' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "data": {
    "id": "string",
    "createdAt": "2026-07-31T16:53:46.516Z",
    "updatedAt": "2026-07-31T16:53:46.516Z",
    "jibNumber": null,
    "period": null,
    "periodStatus": null,
    "partnerId": null,
    "partnerName": null,
    "status": "DRAFT",
    "dueDate": null,
    "sentDate": null,
    "paidDate": null,
    "totalAmount": 1,
    "entries": [
      {
        "id": "string",
        "createdAt": "2026-07-31T16:53:46.516Z",
        "entryType": "DEBIT",
        "reason": null,
        "amount": 1,
        "grossAmount": null,
        "interestPercent": null,
        "description": null,
        "vendorName": null,
        "invoiceNumber": null,
        "expenseDate": null,
        "serviceStartDate": null,
        "serviceEndDate": null,
        "well": {
          "id": "string",
          "name": null,
          "code": null,
          "apiNumber": null
        },
        "glAccount": {
          "id": "string",
          "accountNumber": null,
          "name": null
        }
      }
    ]
  }
}