GET
/
consumers
/
{consumer_id}
/
accounting
/
miscellaneous-operation
/
{operation_id}
curl --request GET \
  --url https://api.chift.eu/consumers/{consumer_id}/accounting/miscellaneous-operation/{operation_id} \
  --header 'Authorization: Bearer <token>'
{
  "operation_number": "<string>",
  "currency": "<string>",
  "currency_exchange_rate": 1,
  "lines": [
    {
      "line_number": 1,
      "description": "<string>",
      "amount": 123,
      "type": "customer_account",
      "account_number": "<string>",
      "partner_id": "<string>",
      "analytic_account": "<string>"
    }
  ],
  "operation_date": "1970-01-01",
  "journal_id": "<string>",
  "status": "cancelled",
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string
required
operation_id
string
required

Query Parameters

folder_id
string

Response

200
application/json
Successful Response
currency
string
required

Indicates the currency of the operation (e.g. EUR).

lines
object[]
required
journal_id
string
required

Indicates the journal used in for the operation.

status
enum<string>
required

An enumeration.

Available options:
cancelled,
draft,
posted,
matched
id
string
required
operation_number
string
currency_exchange_rate
number
default:1

Indicates the exchange rate at the date of the operation. Must be filled in when creating the operation in another currency from the default currency of the accounting system.

operation_date
string
default:1970-01-01

Accounting date of the miscellaneous operation. It is automatically set to '1970-01-01' if the value is not available/empty in the accounting system.