All P4 series batteries are compatible and can be used in all P4 models. Only difference was that the first batteries produced for the P4 (before P4 Pro & P4 Advanced) had a slightly lower capacity.
Hello and good day. Thank you for reaching out and for the inquiry. Aardvark is correct on post #2. The intelligent flight battery of the DJI Phantom 4 Pro is compatible with the DJI Phantom 4 Advanced. If you have any other inquiries or concern with DJI. Please feel free to post it here at DJI Forum. We are here to help and support you. Thank you.