It originates from Table 19 (Cust. Invoice Disc.), and can be viewed from Page 23 (Cust. Invoice Discounts). That said, your idea to grab this value as a flowfield may not be as simple as you have imagined. The Customer Invoice Discount table stores the invoice discount percentage along with a minimum amount that must be exceeded before the discount is applied.
The invoice discount is then applied on the Sales Order based on the values in fields like Invoice Disc. Code, Invoice Discount Amount, Invoice Discount Calculation, and the Invoice Discount Value. Further, the Posed Sales Shipment documents (especially the Sales Shipment Header tables) does not store much - if any - financial information that is stored in Sales Orders.
Also, keep in mind, that a Posted Sales Shipment may only be for a partial shipment from an order, so the overall Invoice Discount may need to be broken down to only show the amount relevant to the items in the partial shipment.
If you absolutely must grab a value for your flow field, try to grab the Invoice Discount Value from the Sales Header table. But it may not always be an accurate of the invoice discount applicable to the item qtys. on the shipment.
I hope this helps. If my response has answered your question, please verify by clicking Yes next to "Did this answer your question?"