GET account/billing/upcoming-invoice

Get info about upcoming invoice

Request

URL ( requires authentication )

https://api.crexi.com/account/billing/upcoming-invoice

Response

Details

Returns an HTTP 200 OK and invoces data if operation was successful. Returns 400 Bad Request and an error message otherwise.

Data fields

Date

date

Discount

InvoiceDiscountData

InvoiceItems

Collection of InvoiceItemData

TotalAmount

decimal number

Example

JSON

{
  "Date": "2019-10-23T07:18:32.1839884Z",
  "Discount": {
    "Amount": 250.0,
    "Name": "25% discount"
  },
  "InvoiceItems": [
    {
      "Amount": 10000.0,
      "Description": "Invoice for Asset on the Best Street",
      "PlanName": "100 per month",
      "PlanQuantity": 5
    },
    {
      "Amount": 20000.0,
      "Description": "Invoice for Asset on the Green Street",
      "PlanName": "200 per month",
      "PlanQuantity": 2
    }
  ],
  "TotalAmount": 500000.0
}