Skip to main content

Get Financial Report

GetFinancialReport

This method retrieves a financial report for a given period of time.


Input

GetFinancialReportRequest

FieldRTypeDescription
ClientId*LongID that identifies a client in the Svea Payments system.
FromDate*DateTimeThe start of the report period.
ToDate*DateTimeThe end of the report period.

Output

GetFinancialReportResponse

FieldRTypeDescription
ReportHeader-FinancialReportHeaderObject containing the header for the report, obtained from the latest record in the time period.
ReportRows-Collection of FinancialReportRowA collection of rows in the financial report.

Structures

FinancialReportHeader

FieldRTypeDescription
Address*AddressThe address of the client.
Currency*StringThe currency used in the report.
ClientTypeId*IntegerThe client type ID (21 = Invoice, 24 = Paymentplan).
Administrator*StringThe administrator for the latest report in the report period.
FromDate*DateTimeThe first date in the report period.
ToDate*DateTimeThe last date in the report period.

FinancialReportRow

FieldRTypeDescription
RowNumber*AddressThe row number.
RowId*StringThe type of row.
Description*StringDescription of the row type.
Debit*DecimalThe total debit amount for all rows with this RowId in the time period.
Credit*DecimalThe total credit amount for all rows with this RowId in the time period.