Intercompany Sales Tax Question

In intercompany transactions, is sales tax calculated automatically by the system only posted in the originating company or can it be posted in the other company’s GL?