ATHENS--Greece showed a primary budget surplus of 2.5 billion euros ($2.8 billion) in the first half of the year, data from the finance ministry showed Tuesday, beating a target of a EUR1 billion deficit due to lower spending and higher revenues.

The state budget only takes into account central government operations and doesn't include general government accounts, which comprise local government, and a portion of military spending in addition to some social-welfare expenditure.