Shiing-Shen Chern's <A HREF="https://doi.org/10.1142/9789812812834_0033">Historical remarks on Gauss-Bonnet</A> seems an authoritative source. The <A HREF="https://en.wikipedia.org/wiki/Gauss–Bonnet_theorem#For_triangles">formula</A> goes back to Gauss (1827), Bonnet (1848), and Binet (unpublished). Gauss considered a triangle, Bonnet and Binet generalized it to smooth closed curves, where the sum of the angles is replaced by the integral of the geodesic curvature. The <A HREF="https://en.wikipedia.org/wiki/Gauss–Bonnet_theorem#Statement">equation for compact surfaces</A> of arbitrary genus, referred to by Needham, was written up later by von Dyck (1888) (relying on earlier developments by Kronecker). So yes, the question in the OP "is Needham accurate" can be answered in the affirmative. Daniel Gottlieb has examined the "sociology of mathematics" which governs the naming of theorems. In the context of the Gauss-Bonnet theorem he <A HREF="https://doi.org/10.2307/2974712">writes</A>: *Part of this story shows that the name of a theorem is not really for an attribution. It is very convenient to have a name for important theorems, and the main point is that people should know approximately what theorem is meant by the name rather than who gets the credit. Still, one can reflect that Bonnet's name is famous and Dyck's is virtually unknown these days.* --- Because of Binet's independent work, some authors speak of the Gauss-Binet-Bonnet theorem, here is one <A HREF="https://tel.archives-ouvertes.fr/LASIE/hal-03363070v1">example.</A> And here is the <A HREF="https://books.google.nl/books?id=04R7tOWnt2oC&pg=RA2-PA129">footnote</A> by Bonnet, in which he credits Binet. [![enter image description here][1]][1] <sub>After having completed this paper, I saw a note by Binet, appended to a paper by Olinde Rodrigues in the "Correspondence of the École Polytechnique". In that note Binet derived Gauss's theorem in a similar way as I did.</sub> [1]: https://i.sstatic.net/VWcOd.png