Depends on which accounting method you are using. "Cash basis" (most individuals and some small companies), or "Accrual basis" (most companies)
Cash basis - revenue and expenses are recognized at the point of the cash transaction
Accrual basis - revenue and expenses are recongnized at the point of sale/exchange of merch. or performance of service
Companies using the accrual method, where shipping is involved in the sales transaction also must record revenue based on there shipping terms.
FOB shipping point - As soon as it leaves the sellers dock the seller recongizes revenue
FOB destination - Seller can't realize revenue until confirmation of reciept at destination
A little accounting 101 for you non beans🙂