Create Invoice

This API used to create invoice.

BODY PARAMS

CustomerID  string  required
Unique ID to identify the customer

PaymentID  string  required
Unique ID to identify the payment currency

isFiatBase  int32  required
Flag for product(s) currency

FiatCurrency  string  
The fiat currency. This is mandatory if ifFiatBase = 1

ExchangeRate  decimal  
The value of the exchange rate (FiatCurrency to PaymentID's currency). This is mandatory if ifFiatBase = 1

isDiscountFixed  int32  required
Flag for discount with fixed amount

Discount  decimal  
The value of the fixed discount. This is mandatory if isDiscountFixed = 1

DiscountInPercentage  double  
The value of the discount's percentage. This is mandatory if isDiscountFixed = 0

isTaxFixed  int32  required
Flag for tax with fixed amount

Tax  decimal  
The value of the fixed tax. This is mandatory if isTaxFixed = 1

TaxInPercentage  double  
The value of the tax's percentage. This is mandatory if isTaxFixed = 0

Notes  string  
Notes of the invoice

DateExpired  datetime  required
Expired date of the invoice (yyyy-MM-dd hh:mm:ss.fff)

PartnerReferenceID  string  required
Unique ID from merchant to identify the invoice

Products  array of objects  required
ProductID  string  required
Unique ID to identify the product

Price  decimal  required
The price of the products. The currency is belongs to the isFiatBase's value. If isFiatBase = 1, the currency will be in fiat, otherwise the currency will be in crypto

Quantity  string  required
The quantity of the product

RESPONSE

Status  string  required
Status of the request

Message  string  required
Contains message of the status

Data  object  required
InvoiceID  string  required
Unique ID to identify the invoice

CustomerID  string  required
Unique ID to identify the customer

CustomerName  string  required
Fullname of the customer

CustomerEmail  string  required
Email of the customer. This email will use to send the invoice

CoinID  string  required
Unique ID to identify the coin

Coin  string  required
Coin's name - in lowercase

isToken  int32  required
Flag for is it token or not

TokenID  string  
Unique ID to identify the token

Token  string  
Token's name - in lowercase

Symbol  string  required
Symbol of the coin/token that belong of the transaction's currency - in Uppercase

NetworkType  string  required
Network of the cryptocurrency

Address  string  required
Address for customer to pay the invoice

isFiatBase  int32  required
Flag for product(s) currency

FiatCurrency  string  
The fiat currency. This is mandatory if ifFiatBase = 1

ExchangeRate  decimal  
The value of the exchange rate (FiatCurrency to PaymentID's currency). This is mandatory if ifFiatBase = 1

Subtotal  decimal  required
Subtotal of the invoice. The currency is belongs to the isFiatBase's value. If isFiatBase = 1, the currency will be in fiat, otherwise the currency will be in crypto

isDiscountFixed  int32  required
Flag for discount with fixed amount

Discount  decimal  
The value of the fixed discount. This is mandatory if isDiscountFixed = 1. The currency is belongs to the isFiatBase's value. If isFiatBase = 1, the currency will be in fiat, otherwise the currency will be in crypto

DiscountInPercentage  double  
The value of the discount's percentage. This is mandatory if isDiscountFixed = 0

isTaxFixed  int32  required
Flag for tax with fixed amount

Tax  decimal  
The value of the fixed tax. This is mandatory if isTaxFixed = 1. The currency is belongs to the isFiatBase's value. If isFiatBase = 1, the currency will be in fiat, otherwise the currency will be in crypto

TaxInPercentage  double  
The value of the tax's percentage. This is mandatory if isTaxFixed = 0

Total  decimal  required
Total of the invoice (subtotal - discount + tax). The currency is belongs to the isFiatBase's value. If isFiatBase = 1, the currency will be in fiat, otherwise the currency will be in crypto

TotalConversion  decimal  required
TotalConversion of the invoice (Total / ExchangeRate). The currency is belongs to the PaymentID's currency. If isFiatBase = 0, the value of this parameter will be equals to Total's value

Commission  decimal  required
Commission of the invoice that charged by Qrypto

CommisionInPercentage  double  required
Amount of the commission's percentage that Qrypto charged to merchant per invoice

NetworkFee  decimal  required
Fee of the transaction that charged by network blockchain. For invoice, the NetworkFee's value will always 0

TotalReceive  double  required
Total amount that merchant will receive in merchant's balance (TotalConversion - Commission)

Notes  string  
Notes of the invoice

isActive  int32  required
Flag for active status

isPaid  int32  required
Flag for paid status

Status  string  required
Status of the invoice

StatusMessage  string  required
Message that belongs to the status

DateCreated  datetime  required
Created date of the invoice (yyyy-MM-dd hh:mm:ss.fff)

DateModified  datetime  required
Modified date of the invoice (yyyy-MM-dd hh:mm:ss.fff)

DateExpired  datetime  required
Expired date of the invoice (yyyy-MM-dd hh:mm:ss.fff)

PartnerReferenceID  string  required
Unique ID from merchant to identify the invoice

PaymentURL  string  required
A public payment URL for customer to pay the invoice.

ReceiptURL  string  required
Receipt URL from the network provider. This receipt URL will appear if the transaction has been paid (completed)

Products  array of objects  required
ProductID  string  required
Unique ID to identify the product

Price  decimal  required
The price of the products. The currency is belongs to the isFiatBase's value. If isFiatBase = 1, the currency will be in fiat, otherwise the currency will be in crypto

Quantity  string  required
The quantity of the product

Activity Logs

There are 2 new tasks for you in “AirPlus Mobile App” project:
Added at 4:23 PM by
img
Meeting with customer
Application Design
img
img
A
In Progress
View
Project Delivery Preparation
CRM System Development
img
B
Completed
View
Invitation for crafting engaging designs that speak human workshop
Sent at 4:23 PM by
img
Task #45890merged with #45890in “Ads Pro Admin Dashboard project:
Initiated at 4:23 PM by
img
3 new application design concepts added:
Created at 4:23 PM by
img
New case #67890is assigned to you in Multi-platform Database Design project
Added at 4:23 PM by
Alice Tan
You have received a new order:
Placed at 5:05 AM by
img

Database Backup Process Completed!

Login into Admin Dashboard to make sure the data integrity is OK
Proceed
New order #67890is placed for Workshow Planning & Budget Estimation
Placed at 4:23 PM by
Jimmy Bold
Pic
Brian Cox 2 mins
How likely are you to recommend our company to your friends and family ?
5 mins You
Pic
Hey there, we’re just writing to let you know that you’ve been subscribed to a repository on GitHub.
Pic
Brian Cox 1 Hour
Ok, Understood!
2 Hours You
Pic
You’ll receive notifications for all issues, pull requests!
Pic
Brian Cox 3 Hours
You can unwatch this repository immediately by clicking here: Keenthemes.com
4 Hours You
Pic
Most purchased Business courses during this sale!
Pic
Brian Cox 5 Hours
Company BBQ to celebrate the last quater achievements and goals. Food and drinks provided
Just now You
Pic
Pic
Brian Cox Just now
Right before vacation season we have the next Big Deal for you.

Shopping Cart

Iblender The best kitchen gadget in 2022
$ 350 for 5
SmartCleaner Smart tool for cooking
$ 650 for 4
CameraMaxr Professional camera for edge
$ 150 for 3
$D Printer Manfactoring unique objekts
$ 1450 for 7
MotionWire Perfect animation tool
$ 650 for 7
Samsung Profile info,Timeline etc
$ 720 for 6
$D Printer Manfactoring unique objekts
$ 430 for 8