Skip to content

InvoicesResource

Defined in: sdks/trendyol/src/resources/invoices.ts:14

Trendyol invoice endpoints — upload PDF/JPEG/PNG invoice files or register/delete invoice links. Pair these with orders.updatePackageStatus(_, { status: 'Invoiced' }) after invoice issuance.

new InvoicesResource(transport, limiter?): InvoicesResource

Defined in: sdks/trendyol/src/resources/invoices.ts:17

TrendyolTransport

TokenBucketRateLimiter

InvoicesResource

deleteLink(input): Promise<unknown>

Defined in: sdks/trendyol/src/resources/invoices.ts:68

Remove a previously-registered invoice link.

DeleteInvoiceLinkInput

Promise<unknown>


sendLink(input): Promise<unknown>

Defined in: sdks/trendyol/src/resources/invoices.ts:55

Register an invoice URL with Trendyol (alternative to uploading the file).

SendInvoiceLinkInput

Promise<unknown>


uploadFile(input): Promise<unknown>

Defined in: sdks/trendyol/src/resources/invoices.ts:30

Upload an invoice file for a shipment package. Multipart: the SDK builds the FormData internally from the typed input.

Max 10 MB. Accepted formats: PDF, JPEG, PNG.

UploadInvoiceFileInput

Promise<unknown>

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.