The entries endpoint of the cash management API
returns information about the following types of cash entry:
-
CASH_IN- A restaurant employee puts cash in a cash drawer. This type of entry represents miscellaneous cash operations that are not handled by standard Toast POS functionality. Note that when a restaurant employee undoes aCASH_OUTcash entry, the system posts aCASH_INcash entry for the same amount. -
CASH_COLLECTED- At the end of a shift, a restaurant employee puts cash collected during that shift into a cash drawer. This does not include cash transactions that are paid into a cash drawer at the time that the guest pays for a check. Note that when a restaurant employee undoes aTIP_OUTcash entry, the system posts aCASH_COLLECTEDcash entry for the same amount. -
CASH_OUT- A restaurant employee removes cash from a cash drawer. This type of entry represents miscellaneous cash operations that are not handled by standard Toast POS functionality. Note that when a restaurant employee undoes aCASH_INcash entry, the system posts aCASH_OUTcash entry for the same amount. -
NO_SALE- A restaurant employee opens a cash drawer and does not make a change to the cash balance. For example, a restaurant employee might perform a no sale transaction to make change for a guest. The restaurant employee can select a pre-configured reason to explain the nature of the no sale transaction. -
PAY_OUT- A restaurant employee removes cash from a cash drawer to pay for goods or services. Pay out reasons are configured in Toast Web. For example, an employee might pay cash for a window washing service. -
TIP_OUT- A restaurant employee removes cash from a cash drawer to pay non-cash tips or gratuities to restaurant employees. For example, a tip out entry might pay tips that were entered in credit card payments. Note that when a restaurant employee undoes aCASH_COLLECTEDcash entry, the system posts aTIP_OUTcash entry for the same amount. -
UNDO_PAY_OUT- A restaurant employee puts cash in a cash drawer to undo a previousPAY_OUTcash entry -
DRIVER_REIMBURSEMENT- A restaurant employee removes cash from a cash drawer to pay a delivery driver for delivery driving expenses. -
CLOSE_OUT_EXACT- A restaurant employee closes a cash drawer and the close out balance is equal to the expected balance. -
CLOSE_OUT_OVERAGE- A restaurant employee closes a cash drawer and the close out balance is greater than the expected balance. -
CLOSE_OUT_SHORTAGE- A restaurant employee closes a cash drawer and the close out balance is less than the expected balance.
The following example curl command sends a
GET request to the entries
endpoint.
Get all cash entries made on a specific business date
curl -X GET \ -H "Authorization: Bearer eyJzI1NiJ9hbGciOiJSU.eyJhd9yaXR5Ij oiQ1JVTkNIVElNRSIsInJzR3VpZCI6IjE4YzQ5YWJlLWFlODItNGFlYy04ND M1LWJhYTRjMjVlYTY2MiIsInNjb3BlIjpbImxWQiOlsidG9hc3QiXSwibmFt aW5nQXV0aGhYm9yIiwib3JkZXJzIiwidXNlcm1nbXQiXSwiZXhwIjoxNDg0M zg5ODUwLCJqdGkiOiJlMDYzZjJkMy1jNGYyLTRiZjItODJmNi01MTg1NWMzZ DAxM2YiLCJjbGllbnRfaWQiOiJjcnVuY2h0aW1lIn0.X1_0y9Hzj5F9gdOw2 o6VSYTyZwooAJiFMDmNakbZrtiUdYwLzuLwLpCMQzX5pKYtOqDUz_cetGJL3 txKL1L-K2j1Enoq8An8hEM6e8J0KdAiwrYFO3W3CmWedaoz95K9ghNZVCs28 Td2Sp3Ix3fObxbrvanocx9_OT8S9uM8hdSXmBI_ykTWvOVgK4hO24V3DJy4b 9bz1FtgOvrClhELxCe8dJy7jiwAR60xczlCF5rna98RMLN6zY4ffjmljKFZ6 QV0KkVppWjEiJn7oFHiIylCX1sSg7sddrGatj0xJzts3GJ8u8_lryUNHaEvJ dWq4Yzwo007AMgxjH9d241Y-g" \ -H "Toast-Restaurant-External-ID: 4622e7a9-b4be-3fef-9220-b3dad273e0b4" \https://
[toast-api-hostname]/cashmgmt/v1/entries?businessDate=20190917
|
Use the
|
|
|
Use the |
The following example shows a CashEntry object in the
response data from the entries endpoint.
CashEntry object in entries endpoint response data
[
{
"guid": "090f0e10-5469-4e86-a9d7-4c72eca366d7",
"entityType": "CashEntry",
"date": "2019-09-17T15:32:49.844+0000",
"reason": "buy window cleaning supplies",
"amount": -25,
"payoutReason": {
"guid": "9bad959b-250e-4b0d-9b13-a1a52026474c",
"entityType": "PayoutReason"
},
"cashDrawer": {
"guid": "30795302-5fc9-461c-b314-ac8ea6e55cd5",
"entityType": "CashDrawer"
},
"undoes": null,
"noSaleReason": null,
"employee1": {
"guid": "9659c962-7a8a-43ec-9343-47cafb68e83b",
"entityType": "RestaurantUser",
"externalId": null
},
"type": "PAY_OUT",
"employee2": null
}
]|
The GUID of this |
|
|
The date and time when the cash entry was made. |
|
|
A descriptive comment entered by the restaurant employee
when the cash entry was made. For undone cash entries, a
hard-coded reason (such as |
|
|
The US currency amount that the restaurant employee removed from (for negative amounts) or added to (for positive amounts) the cash drawer. |
|
|
The GUID of the pre-configured pay out reason for this
|
|
|
The GUID of the cash drawer in which the cash entry was made. |
|
|
The GUID of the cash entry that was undone. The value is
|
|
|
The GUID of the pre-configured no sale reason for a
|
|
|
The GUID or external identifier of the restaurant employee who made the cash entry. |
|
|
The cash entry type for this transaction. |
|
|
The GUID of the restaurant employee who approved this
transaction. The value is |
Undone Cash Entries
When restaurant employees undo cash entries, the
reason and type values of the resulting
undo cash entries are as follows:
-
CASH_INentries are undone byCASH_OUTentries that have areasonvalue ofUndo Cash Inand atypevalue ofCASH_OUT. -
CASH_OUTentries are undone byCASH_INentries that have areasonvalue ofUndo Cash Outand atypevalue ofCASH_IN. -
CASH_COLLECTEDentries are undone byTIP_OUTentries that have areasonvalue ofUndo Cash Collectedand atypevalue ofTIP_OUT. -
TIP_OUTentries are undone byCASH_COLLECTEDentries that have areasonvalue ofUndo Tip Outand atypevalue ofCASH_COLLECTED. -
PAY_OUTentries are undone byUNDO_PAY_OUTentries that have areasonvalue ofUndo Pay Outand atypevalue ofUNDO_PAY_OUT.
Note that you should include undone tip out cash entries when you are calculating expected cash deposits.