Path: blob/master/Agicap/Agicap_Get_transactions_by_account.ipynb
2973 views
Agicap - Get transactions by account
Tags: #agicap #forecast #company #data #python
Author: Florent Ravenel
Last update: 2023-09-18 (Created: 2023-09-18)
Description: This notebook is designed to retrieve all transactions for a specified company and account from Agicap. It will then organize this data into a structured DataFrame for easy analysis. The DataFrame returned contains the following columns:
'ENTREPRISE_ID': This column represents the unique identifier of the company.
'COMPTE_ID': This column indicates the specific account ID related to the transaction.
'TRANSACTION_ID': This column holds the unique transaction ID.
'TRANSACTION_NAME': This column contains the name or description of the transaction.
'CATEGORY_ID': This column represents the unique identifier of the transaction category.
'CATEGORY_NAME': This column contains the name of the transaction category.
'PROJECTS': This column is intended for any project-related information linked with the transaction.
'CURRENCY': This column indicates the currency in which the transaction was made.
'DATE_ORDER': This column holds the order date of the transaction in Unix timestamp format.
'DATE': This column contains the date of the transaction in 'DD/MM/YYYY' format.
'VALUE': This column represents the monetary value of the transaction.
References:
Input
Import libraries
Setup variables
Mandatory
username
: Agicap usernamepassword
: Agicap passwordenterprise_id
: Agicap enterprise ID. Your Agicap account manager can provide you all your enterprises/accounts ids.account_id
: Agicap enterprise ID. Your Agicap account manager can provide you all your enterprises/accounts ids.
Optional
output_csv
: csv file path to be saved as output
Model
Get token from Agicap
Get token using user credentials
Get transactions
Get all transactions using API