Created getOrderInvoice (markdown)
parent
def6721cd2
commit
22c30fc512
|
@ -0,0 +1,23 @@
|
|||
URL: /orders/invoice/<order_id><br/>
|
||||
Request type: GET
|
||||
|
||||
### Overview
|
||||
The getOrderInvoice returns detailed information for the invoice matching “invoice_id” parameter.<br/>
|
||||
“invoice_id” is returned during :link:[addSSLOrder](https://github.com/gogetssl/api/wiki/addSSLOrder) command.
|
||||
|
||||
### Request parameters
|
||||
* order_id
|
||||
|
||||
### Response
|
||||
If no errors in request following parameters will be returned:
|
||||
* order_id - unique order ID
|
||||
* number - invoice unique number
|
||||
* date - invoice creation date
|
||||
* subtotal - invoice subtotal amount
|
||||
* tax - invoice tax amount
|
||||
* tax_rate - invoice tax rate in %
|
||||
* total - invoice total amount
|
||||
* status - invoice status (paid, unpaid, refunded, cancelled)
|
||||
* currency - invoice currency
|
||||
* payment_method - invoice payment method (paypal, skrill, webmoney, bank_transfer, balance)
|
||||
* success - success code (true)
|
Loading…
Reference in New Issue