One-off
You can issue an one-off invoice with complete clarity, define your customer experience for invoice payment and manage the invoice lifecycle by yourself with ease.
This can be achieved via Portal > Invoices > New Invoice or programmatically via Create Invoice API.
Invoice Creation
- It is mandatory to refer to a customer while creating a new invoice. The newly generated invoice will automatically include customer’s detail like name, shipping address, billing address etc in the invoice.
If your customer is a registered entity, then customer’s GSTIN is also automatically included in the invoice.
An invoice should contain atleast one
line_item
. Eachline_item
describes the good/services, quantity of goods/services, total value of goods/services, which is sold to the buyer by the seller. The total amount payable on an invoice is the sum of the amount of each line item included in the invoice.You may create a line_item programmatically via Create Invoice Item API or on the fly while creating an invoice via Portal > Invoices > New Invoice. For more details, refer to Invoice Item.
Invoice Creation via API
Create an invoice via Create Invoice API.
The invoice status is automatically set to
Issued
.If there are existing
invoice_item
s for the same customer, then those will be automatically included as part of the line_items of the newly created invoice.
$ curl -u access_id:secret_key \
https://payabbhi.com/api/v1/invoices \
-d customer_id=cust_2WmsQoSRZMWWkcZg \
-d invoice_no=123123123123 \
-d due_date=1549176945 \
-d currency=INR \
-d description=TestInvoice \
-d notes[mode]=test \
-d line_items[0][id]=item_jYGaYf14SeZ13DkJ \
Invoice Creation via Merchant Portal
Go to Portal > Invoices > New Invoice and follow the steps as mentioned below:
- Select the customer for the invoice.
- Add line item or select an existing line item from the dropdown.
- Enter the Invoice No, if it is not auto-populated.
- Enter due date, by which this invoice should be paid.
- Click on Save and Send.
Invoice Date is automatically generated as the invoice creation timestamp while creating an invoice in Payabbhi.
Invoice Item
You may create an invoice item programmatically via Create Invoice Item API or via Portal > Invoice Items > New Invoice Item.
$ curl -u access_id:secret_key \
https://payabbhi.com/api/v1/invoiceitems \
-d customer_id=cust_2WmsQoSRZMWWkcZg \
-d name="Line Item" \
-d amount=200 \
-d currency=INR
Payment Collection
One-off invoice can only be paid manually via Payabbhi Checkout. Hence the billing_method
here is always set to manual
.
The hosted one-off invoice
contains a link which your customer can easily click to make a payment via Payabbhi Checkout
. The Checkout that is presented to the customer for making the payment is branded with your logo and colors as per Merchant-branded customization.
Payabbhi Payment Gateway supports a wide range of payment options including Credit & Debit Cards, UPI, Netbanking etc. Refer to Payabbhi Payment Gateway for more details.