You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/finance/FinanceApi.md
-283Lines changed: 0 additions & 283 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,6 @@ All URIs are relative to *https://api.xero.com/finance.xro/1.0*
4
4
5
5
Method | HTTP request | Description
6
6
------------- | ------------- | -------------
7
-
[**get_accounting_activity_account_usage**](FinanceApi.md#get_accounting_activity_account_usage) | **GET** /AccountingActivities/AccountUsage | Get account usage
8
-
[**get_accounting_activity_lock_history**](FinanceApi.md#get_accounting_activity_lock_history) | **GET** /AccountingActivities/LockHistory | Get lock history
9
-
[**get_accounting_activity_report_history**](FinanceApi.md#get_accounting_activity_report_history) | **GET** /AccountingActivities/ReportHistory | Get report history
10
-
[**get_accounting_activity_user_activities**](FinanceApi.md#get_accounting_activity_user_activities) | **GET** /AccountingActivities/UserActivities | Get user activities
11
7
[**get_bank_statement_accounting**](FinanceApi.md#get_bank_statement_accounting) | **GET** /BankStatementsPlus/statements | Get Bank Statement Accounting
12
8
[**get_cash_validation**](FinanceApi.md#get_cash_validation) | **GET** /CashValidation | Get cash validation
13
9
[**get_financial_statement_balance_sheet**](FinanceApi.md#get_financial_statement_balance_sheet) | **GET** /FinancialStatements/BalanceSheet | Get Balance Sheet report
xero_tenant_id ='YOUR_XERO_TENANT_ID'# String | Xero identifier for Tenant
56
-
opts = {
57
-
start_month:'2020-09', # String | date, yyyy-MM If no parameter is provided, the month 12 months prior to the end month will be used. Account usage for up to 12 months from this date will be returned.
58
-
59
-
end_month:'2021-09'# String | date, yyyy-MM If no parameter is provided, the current month will be used. Account usage for up to 12 months prior to this date will be returned.
60
-
}
61
-
62
-
begin
63
-
#Get account usage
64
-
result = api_instance.get_accounting_activity_account_usage(xero_tenant_id, opts)
65
-
p result
66
-
rescueXeroRuby::Finance::ApiError => e
67
-
puts"Exception when calling FinanceApi->get_accounting_activity_account_usage: #{e}"
**xero_tenant_id** | **String**| Xero identifier for Tenant |
77
-
**start_month** | **String**| date, yyyy-MM If no parameter is provided, the month 12 months prior to the end month will be used. Account usage for up to 12 months from this date will be returned. | [optional]
78
-
**end_month** | **String**| date, yyyy-MM If no parameter is provided, the current month will be used. Account usage for up to 12 months prior to this date will be returned. | [optional]
Provides a history of locking of accounting books. Locking may be an indicator of good accounting practices that could reduce the risk of changes to accounting records in prior periods.
xero_tenant_id ='YOUR_XERO_TENANT_ID'# String | Xero identifier for Tenant
128
-
opts = {
129
-
end_date:'2021-09-15'# String | date, yyyy-MM-dd If no parameter is provided, the current date will be used. Any changes to hard or soft lock dates that were made within the period up to 12 months before this date will be returned. Please be aware that there may be a delay of up to 3 days before a change is visible from this API.
130
-
}
131
-
132
-
begin
133
-
#Get lock history
134
-
result = api_instance.get_accounting_activity_lock_history(xero_tenant_id, opts)
135
-
p result
136
-
rescueXeroRuby::Finance::ApiError => e
137
-
puts"Exception when calling FinanceApi->get_accounting_activity_lock_history: #{e}"
**xero_tenant_id** | **String**| Xero identifier for Tenant |
147
-
**end_date** | **String**| date, yyyy-MM-dd If no parameter is provided, the current date will be used. Any changes to hard or soft lock dates that were made within the period up to 12 months before this date will be returned. Please be aware that there may be a delay of up to 3 days before a change is visible from this API. | [optional]
For a specified organisation, provides a summary of all the reports published within a given period, which may be an indicator for good business management and oversight.
xero_tenant_id ='YOUR_XERO_TENANT_ID'# String | Xero identifier for Tenant
197
-
opts = {
198
-
end_date:'2021-09-15'# String | date, yyyy-MM-dd If no parameter is provided, the current date will be used. Any reports that were published within the period up to 12 months before this date will be returned. Please be aware that there may be a delay of up to 3 days before a published report is visible from this API.
199
-
}
200
-
201
-
begin
202
-
#Get report history
203
-
result = api_instance.get_accounting_activity_report_history(xero_tenant_id, opts)
204
-
p result
205
-
rescueXeroRuby::Finance::ApiError => e
206
-
puts"Exception when calling FinanceApi->get_accounting_activity_report_history: #{e}"
**xero_tenant_id** | **String**| Xero identifier for Tenant |
216
-
**end_date** | **String**| date, yyyy-MM-dd If no parameter is provided, the current date will be used. Any reports that were published within the period up to 12 months before this date will be returned. Please be aware that there may be a delay of up to 3 days before a published report is visible from this API. | [optional]
For a specified organisation, provides a list of all the users registered, and a history of their accounting transactions. Also identifies the existence of an external accounting advisor and the level of interaction.
xero_tenant_id ='YOUR_XERO_TENANT_ID'# String | Xero identifier for Tenant
266
-
opts = {
267
-
data_month:'2021-09'# String | date, yyyy-MM The specified month must be complete (in the past); The current month cannot be specified since it is not complete. If no parameter is provided, the month immediately previous to the current month will be used. Any user activities occurring within the specified month will be returned. Please be aware that there may be a delay of up to 3 days before a user activity is visible from this API.
268
-
}
269
-
270
-
begin
271
-
#Get user activities
272
-
result = api_instance.get_accounting_activity_user_activities(xero_tenant_id, opts)
273
-
p result
274
-
rescueXeroRuby::Finance::ApiError => e
275
-
puts"Exception when calling FinanceApi->get_accounting_activity_user_activities: #{e}"
**xero_tenant_id** | **String**| Xero identifier for Tenant |
285
-
**data_month** | **String**| date, yyyy-MM The specified month must be complete (in the past); The current month cannot be specified since it is not complete. If no parameter is provided, the month immediately previous to the current month will be used. Any user activities occurring within the specified month will be returned. Please be aware that there may be a delay of up to 3 days before a user activity is visible from this API. | [optional]
0 commit comments