Created getOrderInvoice (markdown)

master
Victor Aleksejevs 2018-08-10 20:35:41 +03:00
parent def6721cd2
commit 22c30fc512
1 changed files with 23 additions and 0 deletions

23
getOrderInvoice.md Normal file

@ -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)