Invoice Details

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

Invoice Details

The Invoice Details Report shows all the information involving your invoices

Request Params

KeyDatatypeRequiredDescription
start_datestringcreated during or after the given date i.e. 2019-01-01
end_datestringcreated during or before the given date i.e. 2019-04-20
currency_codestringreports using the given currency as primary currency i.e. "USD"
clientidsnullreturns data from specific client(s) i.e. 31007, 32291
statusidsnullreturns invoices that has the same status as the given status. i.e. "draft", "sent", "paid", etc.
date_typestringreturns invoices with the specified date_type ("issue" or "paid")

HEADERS

KeyDatatypeRequiredDescription
Content-Typenull

RESPONSES

status: OK

{"response":{"result":{"invoice_details":{"clientids":[],"clients":[],"company_name":"Postman Sandbox","currency_code":"USD","date_type":"issue","download_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50aWQiOiJ3a01kMmciLCJ1c2VyaWQiOjEsImNvbnRhY3RpZCI6LTEsImxldmVsIjozLCJ0eXBlIjoicmVwb3J0Iiwib2JqZWN0aWQiOiJpbnZvaWNlX2RldGFpbHMiLCJwYXJhbXMiOnsic3RhcnRfZGF0ZSI6IjIwMTktMDQtMjQiLCJlbmRfZGF0ZSI6IjIwMTktMDQtMjQiLCJkYXRlX3R5cGUiOiJpc3N1ZSIsImN1cnJlbmN5X2NvZGUiOiJVU0QiLCJjbGllbnRpZHMiOltdLCJzdGF0dXNpZHMiOltdfSwiaWF0IjoxNTU2MTMwNTYyLCJleHAiOjE1NTg3MjI1NjJ9.aV3sb8ohrAx8q0cus1gk_DnRikgvKRjJdpGyIM0lKqQ","end_date":"2019-04-24","start_date":"2019-04-24","statusids":[],"summary":{"outstanding":{"amount":"0.00","code":"USD"},"paid":{"amount":"0.00","code":"USD"},"total":{"amount":"0.00","code":"USD"}},"summary_only":false}}}}