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