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<MutationResult>

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

Remove a previously-registered invoice link.

DeleteInvoiceLinkInput

Promise<MutationResult>


sendLink(input): Promise<MutationResult>

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

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

SendInvoiceLinkInput

Promise<MutationResult>


uploadFile(input): Promise<MutationResult>

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<MutationResult>

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.