GET
/
consumers
/
{consumer_id}
/
accounting
/
export-fec
Export entries in FEC format
curl --request GET \
  --url https://api.chift.eu/consumers/{consumer_id}/accounting/export-fec \
  --header 'Authorization: Bearer <token>'
[
  {
    "JournalCode": "<string>",
    "JournalLib": "<string>",
    "EcritureNum": "<string>",
    "EcritureDate": "2023-12-25",
    "CompteNum": "<string>",
    "CompteLib": "<string>",
    "CompAuxNum": "<string>",
    "CompAuxLib": "<string>",
    "PieceRef": "<string>",
    "PieceDate": "2023-12-25",
    "Debit": 123,
    "Credit": 123,
    "EcritureLet": "<string>",
    "DateLet": "2023-12-25",
    "ValidDate": "2023-12-25",
    "Montantdevise": 123,
    "Idevise": "<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<uuid>
required

Query Parameters

folder_id
string | null

Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled.

date_from
string<date>
required

Start date for the FEC export.

date_to
string<date>
required

End date for the FEC export.

Response

Successful Response

JournalCode
string
required
JournalLib
string
required
EcritureNum
string
required
EcritureDate
string<date>
required
CompteNum
string
required
CompteLib
string
required
CompAuxNum
string
required
CompAuxLib
string
required
PieceRef
string
required
PieceDate
string<date>
required
Debit
number
required
Credit
number
required
EcritureLet
string
required
DateLet
string<date> | null
required
ValidDate
string<date> | null
required
Montantdevise
number
required
Idevise
string
required