Get Invoice

/billing/invoice/get

Full Url

https://apiv1.teleapi.net/billing/invoice/get

Arguments

  • token (required)
  • start (required, Date)
  • end (required, Date)
  • tzoffset (integer)

Info

Retrieves the invoice for the time period between the start and end dates, where start and end are in the following format: YYYY-MM-DD HH:MM:SS. The tzoffset param is the timezone offset as an integer in seconds.

Example Success

{
    "code": 200,
    "status": "success",
    "data": [
        {
            "channel_groups": "0",
            "channel_groups_price": "0.000000",
            "local_numbers": "75",
            "local_numbers_price": "15.000000",
            "tollfree_numbers": "554",
            "tollfree_numbers_price": "1102.460000",
            "offnet_numbers": "2",
            "offnet_numbers_price": "0.040000",
            "international_numbers": "0",
            "international_numbers_price": "0.000000",
            "minutes_inbound": "0",
            "minutes_inbound_price": "0.000000",
            "minutes_outbound": "0",
            "minutes_outbound_price": "0.000000",
            "local_sms_in": "0",
            "local_sms_in_price": "0.000000",
            "local_sms_out": "4705",
            "local_sms_out_price": "4.234500",
            "local_mms_in": "0",
            "local_mms_in_price": "0.000000",
            "local_mms_out": "0",
            "local_mms_out_price": "0.000000",
            "tf_sms_in": "20179",
            "tf_sms_in_price": "58.519100",
            "tf_sms_out": "936040",
            "tf_sms_out_price": "2714.516000",
            "tf_mms_in": "0",
            "tf_mms_in_price": "0.000000",
            "tf_mms_out": "0",
            "tf_mms_out_price": "0.000000",
            "e911": "0",
            "e911_price": "0.000000",
            "credit_payment": "3000.000000",
            "credit_admin": "0.000000",
            "credit_refund": "0.000000",
            "credit_wire": "0.000000",
            "credit_paypal": "0.000000",
            "credit_bitcoin": "0.000000",
            "non_aggregated_transactions": ""
        }
    ]
}

Example Error

You generally won't see an error for this API call as long as you meet the required params.

start is a required field.

results matching ""

    No results matching ""