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

GET https://api.papertracc.com/v1/invoices/{id}

Fetches one invoice.

Reference: https://api-docs.papertracc.com/papertracc/sales/invoices/get-invoice

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /invoices/{id}:
    get:
      operationId: Get Invoice
      summary: Get Invoice
      description: Fetches one invoice.
      tags:
        - invoices
      parameters:
        - name: id
          in: path
          description: Invoice ID.
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          description: Bearer authentication
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Sales_Invoices_Get Invoice_Response_200'
servers:
  - url: https://api.papertracc.com/v1
    description: Production
  - url: https://api.papertracc.com/rc-1
    description: Release Candidate 1
components:
  schemas:
    InvoicesIdGetResponsesContentApplicationJsonSchemaDataItemsItems:
      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: InvoicesIdGetResponsesContentApplicationJsonSchemaDataItemsItems
    InvoicesIdGetResponsesContentApplicationJsonSchemaDataContent:
      type: object
      properties: {}
      title: InvoicesIdGetResponsesContentApplicationJsonSchemaDataContent
    InvoicesIdGetResponsesContentApplicationJsonSchemaDataCustomerAccountsItems:
      type: object
      properties:
        bank:
          type: string
        code:
          type: string
        vat_id:
          type: string
          format: uuid
        is_default:
          type: boolean
        account_name:
          type: string
        currency_code:
          type: string
        account_number:
          type: string
      required:
        - bank
        - code
        - vat_id
        - is_default
        - account_name
        - currency_code
        - account_number
      title: >-
        InvoicesIdGetResponsesContentApplicationJsonSchemaDataCustomerAccountsItems
    InvoicesIdGetResponsesContentApplicationJsonSchemaDataCustomerBillingAddress:
      type: object
      properties:
        city:
          type: string
        name:
          type: string
        phone:
          type: string
        state:
          type: string
        country:
          type: string
        post_code:
          type: string
        address_one:
          type: string
        country_code:
          type: string
      required:
        - city
        - name
        - phone
        - state
        - country
        - post_code
        - address_one
        - country_code
      title: >-
        InvoicesIdGetResponsesContentApplicationJsonSchemaDataCustomerBillingAddress
    InvoicesIdGetResponsesContentApplicationJsonSchemaDataCustomerShippingAddress:
      type: object
      properties:
        city:
          type: string
        name:
          type: string
        phone:
          type: string
        state:
          type: string
        country:
          type: string
        post_code:
          type: string
        address_one:
          type: string
        country_code:
          type: string
      required:
        - city
        - name
        - phone
        - state
        - country
        - post_code
        - address_one
        - country_code
      title: >-
        InvoicesIdGetResponsesContentApplicationJsonSchemaDataCustomerShippingAddress
    InvoicesIdGetResponsesContentApplicationJsonSchemaDataCustomer:
      type: object
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
        email:
          type: string
          format: email
        phone:
          type: string
        accounts:
          type: array
          items:
            $ref: >-
              #/components/schemas/InvoicesIdGetResponsesContentApplicationJsonSchemaDataCustomerAccountsItems
        last_name:
          type: string
        contact_id:
          type: string
          format: uuid
        created_at:
          type: string
          format: date-time
        first_name:
          type: string
        project_id:
          type: string
        company_name:
          type: string
        display_name:
          type: string
        billing_address:
          $ref: >-
            #/components/schemas/InvoicesIdGetResponsesContentApplicationJsonSchemaDataCustomerBillingAddress
        shipping_address:
          $ref: >-
            #/components/schemas/InvoicesIdGetResponsesContentApplicationJsonSchemaDataCustomerShippingAddress
      required:
        - id
        - type
        - email
        - phone
        - accounts
        - last_name
        - contact_id
        - created_at
        - first_name
        - project_id
        - company_name
        - display_name
        - billing_address
        - shipping_address
      title: InvoicesIdGetResponsesContentApplicationJsonSchemaDataCustomer
    InvoicesIdGetResponsesContentApplicationJsonSchemaData:
      type: object
      properties:
        id:
          type: string
          format: uuid
        items:
          type: array
          items:
            $ref: >-
              #/components/schemas/InvoicesIdGetResponsesContentApplicationJsonSchemaDataItemsItems
        amount:
          type: string
        status:
          type: string
        content:
          $ref: >-
            #/components/schemas/InvoicesIdGetResponsesContentApplicationJsonSchemaDataContent
        approval:
          type: integer
        customer:
          $ref: >-
            #/components/schemas/InvoicesIdGetResponsesContentApplicationJsonSchemaDataCustomer
        due_date:
          type: string
          format: date-time
        file_url:
          description: Any type
        order_id:
          type: string
        approvals:
          type: array
          items:
            description: Any type
        created_at:
          type: string
          format: date-time
        is_overdue:
          type: boolean
        project_id:
          type: string
        prepared_by:
          type: string
        invoice_date:
          type: string
          format: date-time
        currency_code:
          type: string
        exchange_rate:
          type: string
        journal_status:
          type: string
        reverse_charge:
          type: boolean
        sales_personnel:
          description: Any type
        debit_account_id:
          description: Any type
        journal_entry_id:
          description: Any type
        invoice_reference:
          type: string
      required:
        - id
        - items
        - amount
        - status
        - content
        - approval
        - customer
        - due_date
        - order_id
        - approvals
        - created_at
        - is_overdue
        - project_id
        - prepared_by
        - invoice_date
        - currency_code
        - exchange_rate
        - journal_status
        - reverse_charge
        - invoice_reference
      title: InvoicesIdGetResponsesContentApplicationJsonSchemaData
    Sales_Invoices_Get Invoice_Response_200:
      type: object
      properties:
        data:
          $ref: >-
            #/components/schemas/InvoicesIdGetResponsesContentApplicationJsonSchemaData
        status:
          type: boolean
        message:
          type: string
      required:
        - data
        - status
        - message
      title: Sales_Invoices_Get Invoice_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": "1243891e-40a8-4a88-8e1f-0397adcbf85e",
    "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": "537500.00",
    "status": "DRAFT",
    "content": {},
    "approval": 0,
    "customer": {
      "id": "7d2c9c72-392c-4f8d-b3f1-c1fef2c2d501",
      "type": "INDIVIDUAL",
      "email": "john@example.com",
      "phone": "+2348012345678",
      "accounts": [
        {
          "bank": "Spruce Bank",
          "code": "044",
          "vat_id": "78c68f6d-d734-4822-9a6c-73f517a0e5c1",
          "is_default": true,
          "account_name": "John Doe",
          "currency_code": "NGN",
          "account_number": "1234567890"
        }
      ],
      "last_name": "Doe",
      "contact_id": "64595845-34ec-482c-b0fe-ae617a0f8335",
      "created_at": "2026-06-18T10:00:00Z",
      "first_name": "John",
      "project_id": "spruce-demo",
      "company_name": "Acme Corp",
      "display_name": "John Doe",
      "billing_address": {
        "city": "Lagos",
        "name": "Office",
        "phone": "+2348012345678",
        "state": "Lagos",
        "country": "Nigeria",
        "post_code": "100001",
        "address_one": "12 Marina Road",
        "country_code": "NG"
      },
      "shipping_address": {
        "city": "Lagos",
        "name": "Office",
        "phone": "+2348012345678",
        "state": "Lagos",
        "country": "Nigeria",
        "post_code": "100001",
        "address_one": "12 Marina Road",
        "country_code": "NG"
      }
    },
    "due_date": "2026-07-18T10:00:00Z",
    "order_id": "ORD-1001",
    "approvals": [],
    "created_at": "2026-06-18T10:00:00Z",
    "is_overdue": false,
    "project_id": "spruce-demo",
    "prepared_by": "user-token-hash",
    "invoice_date": "2026-06-18T10:00:00Z",
    "currency_code": "NGN",
    "exchange_rate": "1.00",
    "journal_status": "UNPOSTED",
    "reverse_charge": false,
    "invoice_reference": "INV-0001"
  },
  "status": true,
  "message": "Successfully fetched invoice"
}
```

**SDK Code**

```python Sales_Invoices_Get Invoice_example
import requests

url = "https://api.papertracc.com/v1/invoices/1243891e-40a8-4a88-8e1f-0397adcbf85e"

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

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

print(response.json())
```

```javascript Sales_Invoices_Get Invoice_example
const url = 'https://api.papertracc.com/v1/invoices/1243891e-40a8-4a88-8e1f-0397adcbf85e';
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_Invoices_Get Invoice_example
package main

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

func main() {

	url := "https://api.papertracc.com/v1/invoices/1243891e-40a8-4a88-8e1f-0397adcbf85e"

	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_Invoices_Get Invoice_example
require 'uri'
require 'net/http'

url = URI("https://api.papertracc.com/v1/invoices/1243891e-40a8-4a88-8e1f-0397adcbf85e")

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_Invoices_Get Invoice_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.papertracc.com/v1/invoices/1243891e-40a8-4a88-8e1f-0397adcbf85e")
  .header("Authorization", "Bearer <apiKey>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.papertracc.com/v1/invoices/1243891e-40a8-4a88-8e1f-0397adcbf85e', [
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
  ],
]);

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

```csharp Sales_Invoices_Get Invoice_example
using RestSharp;

var client = new RestClient("https://api.papertracc.com/v1/invoices/1243891e-40a8-4a88-8e1f-0397adcbf85e");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Sales_Invoices_Get Invoice_example
import Foundation

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.papertracc.com/v1/invoices/1243891e-40a8-4a88-8e1f-0397adcbf85e")! 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()
```