Your sales team tracks deals in Pipedrive, and the invoice belongs in Yuki. After a deal is won, someone retypes the organisation, the contact and the lines before an invoice exists. A name that is slightly different creates a second relation later on. This manual step disappears: customers stay in sync on both sides, and the deal reaches your accounting as a sales invoice.
Relations from Yuki become an organisation in Pipedrive on the exact company name, and a person on the exact email address. In the other direction, you send organisations with their persons, or only persons with their organisation. A company name makes a company in Yuki, otherwise a person. Deals only travel from the CRM to accounting. By default, won deals are sent; you can choose open or lost deals instead. This connection has no flows for stock, products, payments or shipments.
You decide what Pipedrive fetches: organisations with persons, or only persons. Relations from Yuki follow a reference date, the oldest change first, and that date moves along. Deals go out in batches, and a deal that has already been sent stays behind until you release it with a status change. Every invoice line needs a VAT code, either a fixed value or a translation of the tax class. You decide whether the invoice is also processed when it is created, and whether shipping costs, payment costs, invoice costs and commission are added as extra lines.