box-office (n.)
"office in a theater in which tickets are sold," 1786, from box (n.1) + office (n.). Box is from late 14c. in the specialized sense "money box," especially one in which money is kept for some particular purpose; extended to "funds, money" before c. 1400. Box office in the figurative sense of "financial element of a performance" is recorded by 1904.