GET
/
api
/
external
/
v2
/
quotes
{
  "has_more": true,
  "items": [
    {
      "amount": "230.32",
      "appendices": {
        "url": "https://app.pennylane.com/api/external/v2/quotes/42/appendices"
      },
      "archived_at": "2023-08-30T10:08:08.146343Z",
      "created_at": "2023-08-30T10:08:08.146343Z",
      "currency": "EUR",
      "currency_amount": "230.32",
      "currency_amount_before_tax": "196.32",
      "currency_tax": "34.0",
      "customer": {
        "id": 42,
        "url": "https://app.pennylane.com/api/external/v2/customers/42"
      },
      "date": "2020-01-01",
      "deadline": "2020-12-31",
      "discount": {
        "type": "absolute",
        "value": "25"
      },
      "exchange_rate": "1.0",
      "external_reference": "FR123",
      "filename": "my_file.pdf",
      "id": 42,
      "invoice_line_sections": {
        "url": "https://app.pennylane.com/api/external/v2/quotes/42/invoice_line_sections"
      },
      "invoice_lines": {
        "url": "https://app.pennylane.com/api/external/v2/quotes/42/invoice_lines"
      },
      "label": "Quote label",
      "language": "fr_FR",
      "linked_invoices": {
        "url": "https://app.pennylane.com/api/external/v2/customer_invoices?filter=%5B%7B%22field%22%3A%22quote_id%22%2C%22operator%22%3A%22eq%22%2C%22value%22%3A1927271459%7D%5D"
      },
      "pdf_description": "Quote description",
      "pdf_invoice_free_text": "Quote details",
      "pdf_invoice_subject": "Quote subject",
      "public_file_url": "https://app.pennylane.com/public/quote/pdf?encrypted_id=bzjoVJe...3D%3D",
      "quote_number": "PLERYGTXYOIMZZ",
      "quote_template": {
        "id": 38008915
      },
      "special_mention": "Additional details",
      "status": "pending",
      "tax": "34.0",
      "updated_at": "2023-08-30T10:08:08.146343Z"
    },
    {
      "amount": "230.32",
      "appendices": {
        "url": "https://app.pennylane.com/api/external/v2/quotes/42/appendices"
      },
      "archived_at": "2023-08-30T10:08:08.146343Z",
      "created_at": "2023-08-30T10:08:08.146343Z",
      "currency": "EUR",
      "currency_amount": "230.32",
      "currency_amount_before_tax": "196.32",
      "currency_tax": "34.0",
      "customer": {
        "id": 42,
        "url": "https://app.pennylane.com/api/external/v2/customers/42"
      },
      "date": "2020-01-01",
      "deadline": "2020-12-31",
      "discount": {
        "type": "relative",
        "value": "25"
      },
      "exchange_rate": "1.0",
      "external_reference": "FR123",
      "filename": "my_file.pdf",
      "id": 42,
      "invoice_line_sections": {
        "url": "https://app.pennylane.com/api/external/v2/quotes/42/invoice_line_sections"
      },
      "invoice_lines": {
        "url": "https://app.pennylane.com/api/external/v2/quotes/42/invoice_lines"
      },
      "label": "Quote label",
      "language": "fr_FR",
      "linked_invoices": {
        "url": "https://app.pennylane.com/api/external/v2/customer_invoices?filter=%5B%7B%22field%22%3A%22quote_id%22%2C%22operator%22%3A%22eq%22%2C%22value%22%3A1927271459%7D%5D"
      },
      "pdf_description": "Quote description",
      "pdf_invoice_free_text": "Quote details",
      "pdf_invoice_subject": "Quote subject",
      "public_file_url": "https://app.pennylane.com/public/quote/pdf?encrypted_id=bzjoVJe...3D%3D",
      "quote_number": "PLERYGTXYOIMZZ",
      "quote_template": {
        "id": -84561455
      },
      "special_mention": "Additional details",
      "status": "expired",
      "tax": "34.0",
      "updated_at": "2023-08-30T10:08:08.146343Z"
    }
  ],
  "next_cursor": "dXBkYXRlZF9hdDoxNjc0MTIzNDU2"
}

Query Parameters

cursor
string

Cursor for pagination. Use this to fetch the next set of results. The cursor is an opaque string returned in the previous response's metadata. Leave empty for the first request.

Example:

"dXBkYXRlZF9hdDoxNjc0MTIzNDU2"

limit
string

Number of items to return per request. Defaults to 20 if not specified. Must be between 1 and 100.

Example:

"20"

filter
string

You can choose to filter items on specific fields. Available fields and operators:

  • id, customer_id: lt, lteq, gt, gteq, eq, not_eq, in, not_in
  • status: eq, not_eq, in, not_in

Available statuses:

  • accepted: a quote that has been accepted
  • denied: a quote that has been denied
  • expired: a quote that has expired
  • invoiced: a quote that has been invoiced
  • pending: a quote waiting to be denied or accepted
Example:

"[{\"field\": \"id\", \"operator\": \"eq\", \"value\": \"42\"}]"

sort
string

You can choose to sort items on specific attributes Sort field may be prefixed with - for descending order. Example : id will sort by ascending order, -id will sort by descending order. Available fields : id

Example:

"-id"

Response

200
application/json

A list of Quotes

The response is of type object.