Not totally sure what the shippingaddressbook is. If you can find an example in existing transaction, you can use that to filter on the "System Notes : Field" field. Not everything for address is stored in system notes, and there's no direct history/system notes for addresses themselves IIRC, so it's just whatever exists on the transaction/customer/vendor/etc. record.