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.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new InvoicesResource(
transport,limiter?):InvoicesResource
Defined in: sdks/trendyol/src/resources/invoices.ts:17
Parameters
Section titled “Parameters”transport
Section titled “transport”TrendyolTransport
limiter?
Section titled “limiter?”TokenBucketRateLimiter
Returns
Section titled “Returns”InvoicesResource
Methods
Section titled “Methods”deleteLink()
Section titled “deleteLink()”deleteLink(
input):Promise<unknown>
Defined in: sdks/trendyol/src/resources/invoices.ts:68
Remove a previously-registered invoice link.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<unknown>
sendLink()
Section titled “sendLink()”sendLink(
input):Promise<unknown>
Defined in: sdks/trendyol/src/resources/invoices.ts:55
Register an invoice URL with Trendyol (alternative to uploading the file).
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<unknown>
uploadFile()
Section titled “uploadFile()”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.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”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.