What you could do is to maintain two variants representing the two companies. Just go to IMG > FA > FA Global settings > Document > Posting Period.

You just have to define the posting period variants and assign each variant to the two companies. This would allow you to close one period for one company yet let it remain open for another company. Make sure you maintain two different posting variants. the transaction code for OPEN/CLOSING POSTING PERIOD is OB52.