| | December 31, 2017 | | | December 31, 2016 | | ||
In Colombian Pesos | | | | | | | | |
Cash | | Ps. | 4,100,166 | | | Ps. | 3,476,270 | |
In the Colombian Central Bank | | | 3,820,539 | | | | 3,598,125 | |
Demand deposits in banks and other financial entities | | | 312,661 | | | | 380,610 | |
Clearing | | | 1,733 | | | | 2,435 | |
Investments in debt securities maturing in under three months | | | 28,603 | | | | 41,064 | |
Restricted cash(1) | | | 366,584 | | | | 41 | |
| | Ps. | 8,630,286 | | | Ps. | 7,498,545 | |
| | | | | | | | |
In foreign currency | | | | | | | | |
Cash | | | 1,704,861 | | | | 1,422,278 | |
Demand deposits in banks and other financial entities | | | 11,999,859 | | | | 13,268,996 | |
Restricted cash(2) | | | 1,832 | | | | 3,185 | |
| | Ps. | 13,706,552 | | | Ps. | 14,694,459 | |
Total cash and cash equivalents | | Ps. | 22,336,838 | | | Ps. | 22,193,004 | |