You close the sale in Pipedrive, and the admin runs in Xero. Without a connection, someone retypes the customer, the lines and the amounts into an invoice after a deal is won, or adds an invoice from the accounts later by hand as a deal. You only notice a wrong code or a different name when the figures stop adding up.
Sales orders run both ways. Products only come from Xero. A deal you win becomes a sales invoice by default; you can also choose a purchase invoice or a quote. An invoice from Xero becomes a deal, with organisation and contact person. Items that change in Xero come along as a product, recognised by the item code. Stock does not come along.
You stay in control of what counts. Won deals are included by default; open or lost deals you choose yourself, and a deal that has already been sent stays put until you allow a status change. If you finalise the document in Xero, a due date, a ledger code per line and a bank account per payment are needed. Existing products in Pipedrive are only updated if you turn that on.