/invoice create reference
Every option of /invoice create: products, quantities, discounts, custom prices, vouchers, payment method and status.
Required options
- channel
- Where the invoice is posted, usually the customer's ticket.
- amount
- The unit price. With a catalog product name the bot can fill it from the catalog; amount still has to be given.
- currency
- USD, INR, EUR or GBP.
- payment_method
- A label only: PayPal, AmazonCard, Skrill, UPI, Crypto, CashApp, Venmo, Revolut, Wise, BankTransfer, GiftCard or Cash. Noxyr does not process payments.
- payment_status
- Successful, Pending or Failed. Only Successful counts in sales reports by default.
- customer_name, product_name
- Printed on the invoice. customer_name can be a mention.
Optional
- quantity
- Multiplies the amount; default 1.
- description
- A line under the product.
- discount_percent
- Percentage off, shown as its own line.
- custom_price
- Overrides the calculated total, for a negotiated price.
- voucher_code
- Applies a voucher created with /voucher create; the bot validates it, counts the use, and shows the discount line. One per invoice.
- product_2 to product_5
- Extra products on the same invoice, each written as "Name | qty | unit price | optional description".
After posting
The invoice gets an order ID with your prefix. /check invoice order_id or /check invoice order_id (public) finds it later. The status can be changed from the Invoices page, which is how a Pending invoice becomes Successful once paid.