Docs

Get details on write-off transaction

https://api.apifonica.com/v2/accounts/{accountSID}/balance/expenses/{expenseSID}

Overview

This request gets details of the write-off action by its identifier - {expenseSID}.

Request example

This request gets details of the write-off action by its identifier - {expenseSID}.

curl –X GET ‘https://api.apifonica.com/v2/accounts/{accountSID}/balance/expenses/{expenseSID}’ \
-u {accountSID}:{authToken}

Response example

{
  "date": "Tue, 19 July 2016 03:15:25 +0000",
  "amount": 0.678,
  "currency": "EUR",
  "status": "completed",
  "expense_sid": "123456789",
  "article": "phone_calls",
  "instance_uri": "/v2/accounts/accff3ba4f1-4bbf-3aef-8ad9-706495e74888/calls/calf6825cc9-5d94-46e5-99d3-d96db81b4af7"
}

Response parameters

Parameter

Description

date

Date and time of an expense.

amount

Amount of the expense.

currency

Currency of the expense.

status

The expense status.

expense_sid

Unique write-off transaction identifier.

article

The subject of the expense.

instance_uri

Null, or, in case the article parameter has an URI, it is placed here. For example, calls and messages have URIs.

Description

Date and time of an expense.

Description

Amount of the expense.

Description

Currency of the expense.

Description

The expense status.

Description

Unique write-off transaction identifier.

Description

The subject of the expense.

Description

Null, or, in case the article parameter has an URI, it is placed here. For example, calls and messages have URIs.