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

# Invoice line item by Id

GET https://api.letsdeel.com/rest/invoice-adjustments/{id}

Retrieves a single invoice line item by its `id`.

 **Token scopes**: `invoice-adjustments:read`, `worker:read`

Reference: https://developer.deel.com/api/embedded/ic-endpoints/invoice-adjustments/get-invoice-adjustment-by-id

## Authentication

- `Authorization` header (bearer token, required) — ## Authentication The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail. ```curl curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' ``` [Learn more about authentication](/api/authentication)
- `Authorization` header (bearer token, required) — Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

## Servers

- `https://api.letsdeel.com/rest` (Production, default)
- `https://api-staging.letsdeel.com/rest` (Demo)

## Request

### Path parameters

- `id` (string, required) — ID of an existing invoice

## Response

### 200

Successful operation.

- `data` (InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaData, required)

## Errors

### 400 Bad Request Error

Fetch failed.

- `errors` (list of InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaErrorsItems, optional)

### 401 Unauthorized Error

Operation failed.

- `request` (ApiErrorRequest, optional)
- `errors` (list of ApiError, optional)

### 403 Forbidden Error

Operation failed.

- `request` (ApiErrorRequest, optional)
- `errors` (list of ApiError, optional)

### 404 Not Found Error

Operation failed.

- `request` (ApiErrorRequest, optional)
- `errors` (list of ApiError, optional)

### 500 Internal Server Error

Operation failed.

- `request` (ApiErrorRequest, optional)
- `errors` (list of ApiError, optional)

## Types

### InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaData

- `id` (string, required, nullable) — Unique identifier of this resource.
- `type` (enum, required) — Type of invoice adjustment.
  - Allowed values: `accrued_holiday`, `additional_fee`, `allowance`, `bonus`, `commission`, `deduction`, `deposit`, `deposit_refund`, `employer_cost`, `expense`, `health_allowance`, `health_benefit`, `health_insurance_fee`, `legal_fee`, `management_fee`, `milestone`, `offcycle`, `other`, `overtime`, `pension`, `pro_rata`, `setup_fee`, `severance`, `shield_service`, `signing_bonus`, `signing_bonus_employer_cost`, `refund`, `task`, `time_off`, `vat`, `withholding_tax`, `work`
- `status` (enum, required, nullable) — status of invoice adjustment
  - Allowed values: `approved`, `declined`, `not_payable`, `paid`, `pending`, `processing`
- `contract` (InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataContract, required)
- `quantity` (double, required, nullable) — The quantity/number of units applied.
- `worksheet` (InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataWorksheet, required, nullable) — Breakdown of the time/effort involved in the adjustment.
- `attachment` (InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataAttachment, required, nullable) — File attachment linked to the invoice adjustment.
- `created_at` (string, required) — Long date-time format following ISO-8601
- `description` (string, required) — Details or notes regarding the adjustment.
- `reported_by` (InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataReportedBy, required) — The user who reported/submitted the adjustment.
- `reviewed_by` (InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataReviewedBy, required, nullable) — The user who reviewed the adjustment.
- `total_amount` (string, required) — The total monetary value of the adjustment.
- `currency_code` (string, required) — Three-letter ISO-4217 currency code.
- `payment_cycle` (InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataPaymentCycle, required)
- `date_submitted` (string, required) — Long date-time format following ISO-8601
- `scale` (string, optional, nullable) — The scale used for calculation (e.g., hourly, daily).
- `approvers` (list of InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataApproversItems, optional)
- `invoice_id` (double, optional, nullable) — Deprecated. No longer used
- `custom_scale` (string, optional, nullable) — A custom unit of measurement if the standard 'scale' is not applicable.
- `invoice_public_id` (string, optional, nullable) — Public Identifier for the associated invoice.

### InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaErrorsItems

- `code` (string, optional) — Machine-readable error code
- `field` (string, optional) — Name of the field causing the error (for validation issues)
- `message` (string, optional) — Human-readable explanation of the error

### ApiErrorRequest

- `method` (string, optional) — The HTTP method of the failed request
- `url` (string, optional) — The relative URL of the failed request
- `status` (double, optional) — The status code of the response
- `api_req_id` (string, optional) — The request ID of the failed request
- `docs` (string, optional) — A link to the official documentation for the requested endpoint resource
- `source` (string, optional) — The source handler which produced the returned error
- `code` (double, optional) — The code of the source handler which produced the returned error

### ApiError

- `message` (string, optional) — A description of the returned error
- `path` (string, optional) — The JSON path where input validation failed

### InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataContract

- `id` (string, required) — The unique identifier of the contract.
- `type` (enum, required) — Type of a contract
  - Allowed values: `ongoing_time_based`, `milestones`, `time_based`, `pay_as_you_go_time_based`, `commission`, `payg_milestones`, `payg_tasks`, `eor`, `unknown`, `employee`, `global_payroll`, `shield_msa`, `hris_direct_employee`, `peo`
- `title` (string, required) — The display title of the contract.

### InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataWorksheet

Breakdown of the time/effort involved in the adjustment.

- `days` (double, required) — Number of days.
- `hours` (double, required) — Number of hours.
- `weeks` (double, required) — Number of weeks.
- `minutes` (double, required) — Number of minutes.

### InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataAttachment

File attachment linked to the invoice adjustment.

- `key` (string, required) — Storage key returned from the attachments endpoint, can be used as a unique identifier for the file
- `filename` (string, required) — Original filename of the uploaded attachment
- `download_url` (string, optional, nullable) — URL used to download the uploaded attachment file.

### InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataReportedBy

The user who reported/submitted the adjustment.

- `id` (InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataReportedById, required)
- `full_name` (string, optional) — Full name of the reporter.

### InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataReviewedBy

The user who reviewed the adjustment.

- `id` (InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataReviewedById, required)
- `remarks` (string, required) — Comments or notes left by the reviewer.
- `reviewed_at` (string, required) — The timestamp when the review occurred.
- `full_name` (string, optional) — Full name of the reviewer.

### InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataPaymentCycle

- `end_date` (string, required) — Long date-time format following ISO-8601
- `start_date` (string, required) — Long date-time format following ISO-8601

### InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataApproversItems

- `approved` (boolean, required) — Whether the specific approver has approved the adjustment.
- `email` (string, optional) — Email address of the approver.
- `full_name` (string, optional) — Full name of the approver.

### InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataReportedById

### InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataReviewedById

## Examples

**Response**

```json
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "type": "bonus",
    "status": "approved",
    "contract": {
      "id": "cont_987654321",
      "type": "ongoing_time_based",
      "title": "Senior Software Engineer"
    },
    "quantity": 1.5,
    "worksheet": {
      "days": 2,
      "hours": 4,
      "weeks": 0,
      "minutes": 30
    },
    "attachment": {
      "key": "attachments/receipt_123.pdf",
      "filename": "receipt.pdf",
      "download_url": "https://s3.us-east-1.amazonaws.com/attachments/receipt_123.pdf"
    },
    "created_at": "2023-10-25T14:30:00Z",
    "description": "Travel expense reimbursement for October client visit.",
    "reported_by": {
      "id": "user_789",
      "full_name": "Alice Reporter"
    },
    "reviewed_by": {
      "id": "reviewer_456",
      "remarks": "Approved based on provided receipts.",
      "reviewed_at": "2023-10-26T09:00:00Z",
      "full_name": "Jane Smith"
    },
    "total_amount": "150.00",
    "currency_code": "USD",
    "payment_cycle": {
      "end_date": "2023-10-31T23:59:59Z",
      "start_date": "2023-10-01T00:00:00Z"
    },
    "date_submitted": "2023-10-25T14:30:00Z",
    "scale": "hourly",
    "approvers": [
      {
        "approved": true,
        "email": "approver@example.com",
        "full_name": "John Doe"
      }
    ],
    "invoice_id": 10293,
    "custom_scale": "per_trip",
    "invoice_public_id": "8ruUDt5rMJQ2frDPnuBQq"
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.letsdeel.com/rest/invoice-adjustments/INV-2025%2F01"

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

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

print(response.json())
```

```javascript
const url = 'https://api.letsdeel.com/rest/invoice-adjustments/INV-2025%2F01';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

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

```go
package main

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

func main() {

	url := "https://api.letsdeel.com/rest/invoice-adjustments/INV-2025%2F01"

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

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

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

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

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

}
```

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

url = URI("https://api.letsdeel.com/rest/invoice-adjustments/INV-2025%2F01")

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

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

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

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

HttpResponse<String> response = Unirest.get("https://api.letsdeel.com/rest/invoice-adjustments/INV-2025%2F01")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.letsdeel.com/rest/invoice-adjustments/INV-2025%2F01', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.letsdeel.com/rest/invoice-adjustments/INV-2025%2F01");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.letsdeel.com/rest/invoice-adjustments/INV-2025%2F01")! 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()
```