International economics

Why can a country’s overall balance of payments sum to zero in accounting terms even when it runs a current-account deficit?