Accounts Aging

GET https://api.freshbooks.com/accounting/account/{{accountId}}/reports/accounting/accounts_aging

Request Params

KeyDatatypeRequiredDescription
start_datestringcreated during or after the given date i.e. 2019-01-01
currency_codestringreports using the given currency as primary currency i.e. "USD"

RESPONSES

status: OK

{"response":{"result":{"accounts_aging":{"accounts":[{"0-30":{"amount":"3830.00","code":"USD"},"31-60":{"amount":"0.00","code":"USD"},"61-90":{"amount":"0.00","code":"USD"},"91+":{"amount":"0.00","code":"USD"},"email":"first@company.com","fname":"Nicolas","lname":"one","organization":"first company","total":{"amount":"3830.00","code":"USD"},"userid":31006},{"0-30":{"amount":"50.00","code":"USD"},"31-60":{"amount":"0.00","code":"USD"},"61-90":{"amount":"0.00","code":"USD"},"91+":{"amount":"0.00","code":"USD"},"email":"mwesthofer5i@imdb.com","fname":"Myrta","lname":"Westhofer","organization":"Prosacco Group","total":{"amount":"50.00","code":"USD"},"userid":32080},{"0-30":{"amount":"398.48","code":"USD"},"31-60":{"amount":"0.00","code":"USD"},"61-90":{"amount":"0.00","code":"USD"},"91+":{"amount":"0.00","code":"USD"},"email":"api.freshbooks@gmail.com","fname":"Ryan","lname":"Marr","organization":"Ryan Marr","total":{"amount":"398.48","code":"USD"},"userid":75162}],"company_name":"Postman Sandbox","currency_code":"USD","download_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50aWQiOiJ3a01kMmciLCJ1c2VyaWQiOjMxMDA0LCJjb250YWN0aWQiOi0xLCJsZXZlbCI6LTIwLCJ0eXBlIjoicmVwb3J0Iiwib2JqZWN0aWQiOiJhY2NvdW50c19hZ2luZyIsInBhcmFtcyI6eyJlbmRfZGF0ZSI6IjIwMTktMDUtMDgiLCJjdXJyZW5jeV9jb2RlIjoiVVNEIn0sImlhdCI6MTU1NzM0NjM4OCwiZXhwIjoxNTU5OTM4Mzg4fQ.Usasm7HQKxakFm5gFDAYMez__vLM5_VETtWdvdqJMeQ","end_date":"2019-05-08","totals":{"0-30":{"amount":"4278.48","code":"USD"},"31-60":{"amount":"0.00","code":"USD"},"61-90":{"amount":"0.00","code":"USD"},"91+":{"amount":"0.00","code":"USD"},"total":{"amount":"4278.48","code":"USD"}}}}}}