# Gets revenue of a store on a given date Gets revenue of a store on a given date, summarized by GL Account. Endpoint: GET /accounting/{storeId}/{date}/revenue Version: v3.0: 3.26.2.2 Security: Auth API User Token ## Path parameters: - `storeId` (string, required) Id of the Yellow Dog Store that is being fetched. The Store ID can be found from the Get All Stores Endpoint as the id Property of the Store Model. - `date` (string, required) Date String in the local time of the store (YYYY-MM-DD) is recommended Example: "2020-05-24" ## Query parameters: - `types` (array) Choose one or more of the following Journal Entry types (Sale, Tax, Tender) ## Response 200 fields (application/json): - `date` (string) - `store` (object) - `store.id` (string) - `store.code` (string,null) - `store.description` (string,null) - `store.accountingId` (string,null) - `lines` (array,null) - `lines.type` (string,null) - `lines.glAccount` (string,null) - `lines.credit` (number) - `lines.debit` (number) ## Response 400 fields (application/json): - `message` (string,null) - `errors` (array,null) - `errors.extensions` (string,null) ## Response 500 fields (application/json): - `message` (string,null) - `errors` (array,null) - `errors.extensions` (string,null) ## Response 403 fields ## Response 429 fields