post #2 is right about the mechanism and I think understates the practical bit.
Documentation after arrival: photograph the parcel and its contents on arrival. If something later turns out wrong (damage, loss, wrong item) you have evidence of the condition it arrived in.