Skip to main content

Create New Business Invoice

This endpoint creates a new business invoice under merchant's account.

POST/api/invoices/v1/businessAuth: Required

Request Body

invoiceCurrencystringRequired

Invoice items price currency. Can be eur, usd, or crypto assets (usdt, usdc, btc, eth, ton, sol, bnb, bch, ltc, trx).

itemsarrayRequired

List of invoice items. Each item should contain description and price.

invoiceNumberstringRequired

Invoice legal number. Can contain any symbols, should be unique per business invoice.

sellerobjectRequired

Seller's legal info block.

buyerobjectRequired

Buyer's legal info block.

More attributes

Response

idstring

Invoice identifier. Open on frontend: https://pay.my.paidlys.com/%invoice_id%.

statusstring

Current invoice state (see Invoice Statuses).

createdAtstring

Invoice creation date and time.

typestring

regular, unlimited, or Business.

companyobject

Merchant's company info: name, logoUrl, assets.

invoiceContentobject

Items list, prices, invoiceCurrency, paymentCurrency, isMerchantPaysFee.

invoiceNumberstring

Invoice legal number.

sellerobject

Seller info block.

buyerobject

Buyer info block.

taxesarray

Invoice taxes.

notesToBuyerstring

Notes for the client during invoice processing.

internalNotesstring

Internal notes for the merchant on Invoices detail page.

issueDatestring

Invoice legal issue date.

dueDatestring

Invoice legal expiration date.

redirectURLstring

Redirect URL after "Done" status.