How to pass Team memberId when we create new Invoice/Order using API?

Is there any way to link Team member to Invoice using API?
When invoice is paid then we want to display team member name in transaction.

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Pay or Refund Invoices
Migrate from Employees to Team Members
Create and Publish Invoices

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

No, currently the Square Invoices API does not support linking a team member to an invoice directly. The Invoices API allows you to create, retrieve, update, and delete invoices, but it does not have a field to associate a team member with an invoice. However, you can manually assign a team member to an invoice through the Square Dashboard.

This answer was reviewed by @Bryan-Square.