Difference in SIP protocol for Trunks vs. Endpoints

If there is no difference from a protocol point of view, in which field of a sip invite are specified the inbound caller id and the outbound called id when I have a trunk?