Skip to content

InvoiceLinkInput

InvoiceLinkInput = object & Record<string, unknown>

Defined in: sdks/hepsiburada/src/types/order.ts:448

Body for orders.sendInvoiceLink() — the spec’s AddInvoiceOfPackageRequest: either a single link (invoiceLink + serialNumber / rowNumber) or a multi-invoice invoices list.

Hepsiburada downloads every link and accepts it only when it is served as application/pdf or text/html; otherwise it answers 400 code 2003 (“Url must be pdf or html link … ContentType: ”). The single link form with a PDF link was accepted on SIT (2026-10-27). A top-level contentType is not read.

optional arrangementDate?: string

Invoice issue date, e.g. '2026-10-27'.

optional invoiceLink?: string

Invoice URL; it must be served as application/pdf or text/html.

optional invoices?: InvoiceLinkItem[]

Multiple invoices for the package.

optional rowNumber?: string

Invoice row number.

optional serialNumber?: string

Invoice serial number.

Unofficial. Lonca is an independent, community-maintained project — not affiliated with, endorsed by, or supported by Trendyol, Hepsiburada, or any other marketplace. All marketplace names and trademarks belong to their respective owners.