Massachusetts soldiers and sailors of the Revolutionary War is a set of books that contain the soldiers and sailors that lived in Massachusetts and Maine. Remember Maine was part of Massachusetts and did not become a state until 1820. I bought this set of books a few years back.
The records are now also available online at the Mass.gov website. Here is the link. Below is the text that can be found for Benjamin Foss in this book.
Foss, Benjamin. Private, Capt Stephen Smith’s (Seacoast) co.; enlisted Sept. 16, 1775; discharged Dec. 31, 1775; service, 3 mos. 22 days; company stationed at Machias; also, Capt. Joseph Libbie’s (9th) co., Col. Benjamin Foster’s (Lincoln Co.) regt.; enlisted June 23, 1777; discharged July 16, 1777; service, 23 days; company ordered on duty for defense of Machias and adjacent rivers when ship “Ambuscade” lay in the harbor; also, Capt. Stephen Smith’s co., Col. Benjamin Foster’s (Lincoln Co.) regt.; service between July 16, 1777, and date of discharge of company, Oct. 10, 1777, 13 days, at Machias when British ships lay in the harbor; also Capt. Reuben Dyer’s co.; enlisted July 29, 1777; discharged Nov. 24, 1777; service, 3 mos. 27 days; company raised for expedition against St. Johns, N.S., and Machias; also, certificate dated Machias, Dec. 12, 1777, signed by Capt. Reuben Dyer, stating that Capt. Stephen Smith, Muster Master for Lincoln Co., paid said Foss and others in Capt. Dyer’s co., the bounty allowed them for engaging to serve on the expedition against St. Johns; also, Private, Capt. Stephen Smith’s co., Col. Benjamin Foster’s regt., service between Dec. 4, 1778, and Jan. 4, 1779, 3 days, at Machias; also, Lieut. John Scott’s detachment, 6th Lincoln Co. regt.; service between Aug. 31, 1779, and Nov. 20, 1779, 11days, at Machias; roll endorsed “service at Penobscot.”
Massachusetts soldiers and sailors of the Revolutionary War. A compilation from the archives, prepared and published by the Secretary of the Commonwealth in accordance with chapter 100, resolves of 1891. (Vol. 5, p. 882). (1899). Boston, MA: Wright and Potter Print., State Printers.