The deal is won in ActiveCampaign, but the invoice does not exist yet. Someone looks up the relation in Twinfield, creates a debtor if it is missing, and types in the lines and addresses. That work repeats for every won deal, and a typo in the amount or address only shows up later in your books.
Everything that goes across starts in ActiveCampaign and lands in Twinfield. An account with its contacts, or just a contact, becomes a debtor once the email address is filled in. A deal arrives as a sales invoice, or as a financial transaction if you choose that format. The lines are built from custom fields on the deal, which you include in the mapping. Nothing comes back from Twinfield.
You stay in control of how it runs. For customers, you choose accounts with contacts or contacts only. For deals, you set how many go across per run, whether a deal that was already sent may be sent again, and whether the invoice is final or stays as a draft. Once an invoice is final, you can no longer change it.