FinancialReports
Get General Ledger
Changed onget/api/v1/FinancialReports/generalledger
Request
- Base URLhttps://api.peakaccount.com
- Authnone declared. Required headers: Time-Stamp, Time-Signature, User-Token, Client-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
fromDatestring required
Start date of the general ledger (yyyyMMdd)
toDatestring required
End date of the general ledger (yyyyMMdd). Must not be earlier than fromDate, and the range must be shorter than one year from fromDate
accountCodestring required
Account code to show the general ledger for
isShowSubAccountstring
Send true to break the account down into its sub accounts. Defaults to false
Headers
Time-Stampstring required
Timestamp (yyyyMMddHHmmss)
Time-Signaturestring required
HMAC-SHA1 encrypted Time-Stamp where Secret Key is connectId
User-Tokenstring required
This token will be generated by PEAK.
Client-Tokenstring required
Token used to identify between client and PEAK to call API.
Response
Success
Changes
- info
endpoint added
- info