Connect with and learn from others in the QuickBooks Community.
Currently, QuickBooks Online can only set distribution codes for customer transactions. Instead, you'll need to calculate and enter the amounts manually for the vendor transactions.
I'd also recommend reaching out to your accountant to see if they have another way to do this.
We'll be right here if you need anything else.