An Agreement on the Status of the Armed Forces (SOFA) is an agreement between a host country and a foreign nation that deploys military forces in that country. CANPAÉs are often included with other types of military agreements as part of a comprehensive security agreement. A CANAPÉ is not a safety device; it establishes the rights and privileges of foreign staff in a host country in order to support the greater security regime.  Under international law, a force status agreement differs from military occupation. While the U.S. military has the largest presence abroad, making it most SOFAs, the United Kingdom, France, Australia, Germany Italy, Russia, Spain and many other nations also deploy military personnel abroad and negotiate SOFAs with their host countries. In the past, the Soviet Union had SOFS with most of its satellite states. While most SOFS in the United States are public, some remain classified.  A sofa must clarify the conditions under which the foreign army can operate. As a general rule, purely military issues, such as base location and access to facilities, are covered by separate agreements. A SOFA focuses more on legal issues related to military individuals and property. This may include issues such as entry and exit, tax obligations, postal services or the employment conditions of nationals of the host country, but the most controversial issues are the civil and criminal competences of bases and staff. In civil matters, SOFS provides for how civilian damage caused by the armed forces is determined and paid for.
Criminal issues vary, but the typical provision of the United States is that U.S. courts have jurisdiction over crimes committed either by a serving member against another serving member or by a serving member as part of his or her military duty, but the host country retains jurisdiction for other crimes.  An agreement on visiting forces is akin to an agreement on the status of the armed forces, with the exception of the first, which covers only troops temporarily stationed in a country that does not reside there. The political issue of SOFA is complicated by the fact that many host countries have mixed feelings about foreign bases on their soil and that SOFA renegotiation requests are often linked to calls for a total withdrawal of foreign troops. Issues of different national practices may arise – while the United States and host countries in general agree on what constitutes a crime, many American observers believe that the host country`s judicial systems offer much lower protection than the United States and that the host country`s courts may be under pressure from the public to be found guilty; In addition, U.S. service members who are invited to send shipments abroad should not be forced to waive their rights under the Rights Act.