# Get Receipt by External Reference **GET /f/finance/{businessLocationId}/saleByExternalReference** Returns a single receipt matching the external reference supplied in the request. See [`externalReferences`](https://api-docs.lsk.lightspeed.app/operation/operation-financial-apigetfinancials#operation-financial-apigetfinancials-200-body-application-json-sales-externalreferences) for examples. ## Servers - Demo URL: https://api.trial.lsk.lightspeed.app (Demo URL) - Production URL: https://api.lsk.lightspeed.app (Production URL) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **businessLocationId** (integer(int64)) The unique identifier for the business location. ### Query parameters - **externalReferenceId** (string) The external reference of the receipt. See [externalReferences](https://api-docs.lsk.lightspeed.app/operation/operation-financial-apigetfinancials#operation-financial-apigetfinancials-200-body-application-json-sales-externalreferences). ## Responses ### 200 Receipt returned #### Body: application/json (object) - **accountReference** (string) Unique reference code for the account. - **accountFiscId** (string) The account identifier - **receiptId** (string) The unique identifier for the receipt associated with this account. - **source** (object) - **salesLines** (array[object]) - **payments** (array[object]) - **timeofOpening** (string) The account creation timestamp. - **timeofCloseAndPaid** (string) The account close timestamp. - **cancelled** (boolean) - **externalFiscalNumber** (string) - **tableNumber** (string) The table number. - **tableName** (string) The name of the table. - **accountProfileCode** (string) The account profile associated with the account. - **ownerName** (string) The name of the user associated with the account. - **ownerId** (number) The unique identifier for the user associated with the account. - **type** (string) The sale type. - **externalReferences** (array[string]) List of external references for online orders. Includes the TASK prefix, `businessLocationId`, and the unique reference code provided in the [`thirdPartyReference`](https://api-docs.lsk.lightspeed.app/operation/operation-apelocalorder#operation-apelocalorder-body-application-json-thirdpartyreference) field of an online order. - **nbCovers** (number) The number of covers. - **dineIn** (boolean) Whether the order is dine-in. - **deviceId** (number) The unique identifier for the device where the account was created. - **deviceName** (string) The name of the device where the account was created. - **voidReason** (string) The void reason, if applicable. [Powered by Bump.sh](https://bump.sh)