GET
/
api
/
external
/
v2
/
draft_invoices
/
{id}
{
  "amount": "230.32",
  "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"
  },
  "customer_invoice_template": {
    "id": 36693989
  },
  "date": "2023-08-30",
  "deadline": "2020-09-02",
  "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/draft_invoices/42/invoice_line_sections"
  },
  "invoice_lines": {
    "url": "https://app.pennylane.com/api/external/v2/draft_invoices/42/invoice_lines"
  },
  "invoice_number": "F20230001",
  "label": "Invoice label",
  "language": "fr_FR",
  "ledger_entry": {
    "id": 42002
  },
  "pdf_description": "Invoice description",
  "pdf_invoice_free_text": "Thanks for paying this invoice",
  "pdf_invoice_subject": "Invoice subject",
  "public_file_url": "https://app.pennylane.com/public/invoice/pdf?encrypted_id=bzjoVJe...3D%3D",
  "special_mention": "Additional details",
  "tax": "34.0",
  "updated_at": "2023-08-30T10:08:08.146343Z"
}

Path Parameters

id
string
required

(Required)

Example:

"1234"

Response

200
application/json

A Draft invoice

The response is of type object.