Originally Posted by
ESpen36
APIS. DHS/CBP knows when you depart the country. That's why your boarding pass says DOCS OK.
Don't worry about it.
That is not why boarding pass ends up saying "DOCS OK".
DHS/CBP most often -- but not always -- knows when those who arrive in the country by air leave the country by air. The passport info doesn't always line up.

The airline supplied PNR data is used in an effort to match things up.