Skip to main content
GET
/
invoices
/
{id}
Get an invoice
curl --request GET \
  --url https://api.bookingshake.io/api/invoices/{id} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.bookingshake.io/api/invoices/{id}"

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

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

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.bookingshake.io/api/invoices/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bookingshake.io/api/invoices/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

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

func main() {

url := "https://api.bookingshake.io/api/invoices/{id}"

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(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.bookingshake.io/api/invoices/{id}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.bookingshake.io/api/invoices/{id}")

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
{
  "message": "success",
  "data": {
    "id": "file-789",
    "number": "FAC-2026-0042",
    "type": "balance_invoice",
    "type_code": 380,
    "status": "ongoing",
    "title": "Séminaire Acme - 12 juin 2026",
    "language": "fr",
    "currency": "EUR",
    "created_at": 1749722400000,
    "due_date": "2026-07-12",
    "service_start_date": "2026-06-12",
    "service_end_date": "2026-06-13",
    "purchase_order_number": "PO-2026-1234",
    "amount_excl_tax": 175000,
    "amount_incl_tax": 210000,
    "taxable_breakdown": {
      "20": 175000
    },
    "tax_breakdown": {
      "20": 35000
    },
    "global_discount_excl_tax": 0,
    "lines": [
      {
        "name": "Location salle plénière",
        "description": "Salle de 200 m², vidéoprojecteur et sonorisation inclus",
        "accounting_code": "706100",
        "quantity": "1.00",
        "unit": null,
        "unit_price_excl_tax": 150000,
        "discount": 0,
        "tax_rate": "20.00",
        "total_excl_tax": 150000
      },
      {
        "name": "Forfait journée d'étude",
        "description": null,
        "accounting_code": "707-SEM",
        "quantity": "25.00",
        "unit": null,
        "unit_price_excl_tax": 4000,
        "discount": 0,
        "tax_rate": "20.00",
        "total_excl_tax": 100000
      },
      {
        "name": "Déduction acompte FAC-2026-0021 (TVA 20%)",
        "description": null,
        "accounting_code": null,
        "quantity": "1.00",
        "unit": null,
        "unit_price_excl_tax": -75000,
        "discount": 0,
        "tax_rate": "20.00",
        "total_excl_tax": -75000
      }
    ],
    "booking_id": "booking-abc",
    "quote_id": "quote-123",
    "linked_invoice_id": null,
    "deposit_invoices": [
      {
        "id": "file-456",
        "number": "FAC-2026-0021",
        "date": "2026-05-01",
        "amount_incl_tax": 90000
      }
    ],
    "account_id": "account-123",
    "contact_id": "contact-456",
    "seller": {
      "id": "venue123",
      "legal_name": "HOTEL EXAMPLE SAS",
      "company_type": "SAS",
      "company_registration_id": "123456789",
      "vat_number": "FR12345678901",
      "share_capital": "10 000 €",
      "company_other_id": null,
      "address_line_1": "1 place de l'Example",
      "address_line_2": null,
      "postal_code": "75001",
      "city": "Paris",
      "country": "France",
      "iban": "FR7612345678901234567890123",
      "email": "billing@hotel-example.com",
      "country_code": "FR"
    },
    "account": {
      "id": "account-123",
      "name": "Acme Corp",
      "legal_name": "ACME CORPORATION SAS",
      "company_type": "SAS",
      "company_registration_id": "987654321",
      "siret": "98765432100012",
      "vat_number": "FR98765432101",
      "rcs_number": "RCS Paris 987 654 321",
      "address_line_1": "123 rue Example",
      "address_line_2": "Bâtiment A",
      "postal_code": "75001",
      "city": "Paris",
      "country": "France",
      "billing_address_line_1": "123 rue Example",
      "billing_address_line_2": null,
      "billing_postal_code": "75001",
      "billing_city": "Paris",
      "billing_country": "France",
      "country_code": "FR",
      "billing_country_code": "FR",
      "peppol_id": "0009:987654321"
    },
    "contact": {
      "id": "contact-456",
      "first_name": "John",
      "last_name": "Doe",
      "email": "john.doe@example.com",
      "phone": "+33612345678",
      "landline_phone": null,
      "title": "Mr",
      "position": "CEO",
      "company": "Acme Corp",
      "address_line_1": null,
      "address_line_2": null,
      "postal_code": null,
      "city": null,
      "country": null,
      "country_code": null
    },
    "pdf_url": "https://storage.googleapis.com/.../FAC-2026-0042.pdf",
    "metadata": {
      "external_ref": "MEWS-2026-0042"
    }
  }
}
{
"message": "invalid token"
}
{
"message": "not found"
}
{
"message": "Rate limit exceeded",
"data": {
"limit": 60,
"window": "60 seconds",
"remaining": 0,
"resetAt": "2025-11-17T14:30:00.000Z",
"retryAfter": 45
}
}
{
"message": "error"
}

Authorizations

Authorization
string
header
required

Bearer authentication using your BookingShake API key. Retrieve your API key from Settings > Integrations in your BookingShake dashboard.

Path Parameters

id
string
required

Invoice document ID (the id field carried by the invoice.created webhook).

Response

Invoice retrieved successfully

message
string
Example:

"success"

data
object

An issued invoice. Identical to the data block of the invoice.created webhook. All amounts are integer cents; dates are YYYY-MM-DD strings in the Europe/Paris timezone; missing values are explicit null.