GET
/
consumers
/
{consumer_id}
/
pms
/
invoices
curl --request GET \
  --url https://api.chift.eu/consumers/{consumer_id}/pms/invoices \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "source_ref": {
        "id": "<string>",
        "model": "<string>"
      },
      "invoice_number": "<string>",
      "creation_date": "2023-11-07T05:31:56Z",
      "closing_date": "2023-11-07T05:31:56Z",
      "partners": [
        {
          "id": "<string>",
          "source_ref": {
            "id": "<string>",
            "model": "<string>"
          },
          "type": "owner",
          "address": {
            "address_type": "home",
            "name": "Home",
            "street": "Main Street",
            "number": "123",
            "box": "A",
            "city": "Paris",
            "postal_code": "75000",
            "country": "FR"
          },
          "first_name": "<string>",
          "last_name": "<string>",
          "company_name": "<string>"
        }
      ],
      "items": [
        {
          "id": "123",
          "source_ref": {
            "id": "<string>",
            "model": "<string>"
          },
          "type": "product",
          "menu_id": "456",
          "quantity": 1,
          "unit_price": 10,
          "total": 11,
          "tax_amount": 1,
          "tax_rate": 10,
          "description": "Pizza",
          "discounts": [],
          "product_id": "789",
          "accounting_category_id": "123"
        }
      ],
      "payments": [
        {
          "id": "payment-123",
          "source_ref": {
            "id": "<string>",
            "model": "<string>"
          },
          "payment_method_id": "payment-method-123",
          "payment_method_name": "Cash",
          "total": 11,
          "tip": 1,
          "status": "Completed",
          "currency": "EUR",
          "date": "2025-01-01T00:00:00Z",
          "partner_id": {
            "id": "<string>",
            "source_ref": {
              "id": "<string>",
              "model": "<string>"
            }
          }
        }
      ],
      "service_id": "<string>",
      "reservation": {
        "id": "<string>",
        "source_ref": {
          "id": "<string>",
          "model": "<string>"
        },
        "start_date": "2023-11-07T05:31:56Z",
        "end_date": "2023-11-07T05:31:56Z",
        "creation_date": "2023-11-07T05:31:56Z",
        "resource_id": {
          "id": "<string>",
          "source_ref": {
            "id": "<string>",
            "model": "<string>"
          }
        },
        "resource_name": "<string>",
        "resource_identifier": "<string>"
      }
    }
  ],
  "total": 1,
  "page": 2,
  "size": 2
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string
required

Query Parameters

page
integer
default:1
Required range: x >= 1
size
integer
default:50
Required range: 1 <= x <= 100
date_from
string
required
date_to
string
required
location_id
string

Response

200
application/json
Successful Response
items
object[]
required
total
integer
required
Required range: x >= 0
page
integer
required
Required range: x >= 1
size
integer
required
Required range: x >= 1