From 22c30fc512ea08e29c57bdc7f1bd2ba1ba9f9c3a Mon Sep 17 00:00:00 2001 From: Victor Aleksejevs <42028380+ggs-victor@users.noreply.github.com> Date: Fri, 10 Aug 2018 20:35:41 +0300 Subject: [PATCH] Created getOrderInvoice (markdown) --- getOrderInvoice.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 getOrderInvoice.md diff --git a/getOrderInvoice.md b/getOrderInvoice.md new file mode 100644 index 0000000..3d1a9b4 --- /dev/null +++ b/getOrderInvoice.md @@ -0,0 +1,23 @@ +URL: /orders/invoice/
+Request type: GET + +### Overview +The getOrderInvoice returns detailed information for the invoice matching “invoice_id” parameter.
+“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) \ No newline at end of file