The attack happened in Spin Boldak district , a major cross border route between Afghanistan and Pakistan .