Get Financial Report
GetFinancialReport
This method retrieves a financial report for a given period of time.
Input
GetFinancialReportRequest
| Field | R | Type | Description |
|---|---|---|---|
| ClientId | * | Long | ID that identifies a client in the Svea Payments system. |
| FromDate | * | DateTime | The start of the report period. |
| ToDate | * | DateTime | The end of the report period. |
Output
GetFinancialReportResponse
| Field | R | Type | Description |
|---|---|---|---|
| ReportHeader | - | FinancialReportHeader | Object containing the header for the report, obtained from the latest record in the time period. |
| ReportRows | - | Collection of FinancialReportRow | A collection of rows in the financial report. |
Structures
FinancialReportHeader
| Field | R | Type | Description |
|---|---|---|---|
| Address | * | Address | The address of the client. |
| Currency | * | String | The currency used in the report. |
| ClientTypeId | * | Integer | The client type ID (21 = Invoice, 24 = Paymentplan). |
| Administrator | * | String | The administrator for the latest report in the report period. |
| FromDate | * | DateTime | The first date in the report period. |
| ToDate | * | DateTime | The last date in the report period. |
FinancialReportRow
| Field | R | Type | Description |
|---|---|---|---|
| RowNumber | * | Address | The row number. |
| RowId | * | String | The type of row. |
| Description | * | String | Description of the row type. |
| Debit | * | Decimal | The total debit amount for all rows with this RowId in the time period. |
| Credit | * | Decimal | The total credit amount for all rows with this RowId in the time period. |