Recommendation:Before trying to assemble the object to create an invoice, visit the catalogs endpoint, it contains all the necessary IDs of each software required on this endpoint.
Endpoint used to create invoices in different accounting software, determine the accounting software using the x-software header

Language
Authorization
Header
Click Try It! to start a request and see the response here!