GET
/
api
/
external
/
v2
/
commercial_documents
/
{id}
{
  "amount": "230.32",
  "appendices": {
    "url": "https://app.pennylane.com/api/external/v2/commercial_documents/42/appendices"
  },
  "archived_at": "2023-08-30T10:08:08.146343Z",
  "commercial_document_template": {
    "id": -42818446
  },
  "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"
  },
  "document_number": "PLERYGTXYOIMZZ",
  "document_type": "shipping_order",
  "exchange_rate": "1.0",
  "external_reference": "FR123",
  "filename": "my_file.pdf",
  "id": 42,
  "invoice_line_sections": {
    "url": "https://app.pennylane.com/api/external/v2/commercial_documents/42/invoice_line_sections"
  },
  "invoice_lines": {
    "url": "https://app.pennylane.com/api/external/v2/commercial_documents/42/invoice_lines"
  },
  "label": "Commercial document label",
  "language": "fr_FR",
  "pdf_description": "Document description",
  "pdf_invoice_free_text": "Document details",
  "pdf_invoice_subject": "Document subject",
  "public_file_url": "https://app.pennylane.com/.../file.pdf",
  "quote": {
    "id": 201,
    "url": "https://app.pennylane.com/api/external/v2/quotes/201"
  },
  "special_mention": "Additional details",
  "tax": "34.0",
  "updated_at": "2023-08-30T10:08:08.146343Z"
}

Path Parameters

id
string
required

(Required)

Example:

"42"

Response

200
application/json

A Commercial Document

The response is of type object.