Victoria Yudin has a nice post with table info and codes (1=Sales/Invoice, 3=Debit Memo, etc.) for Receivables Management, Payables Management and Company/System Tables.
More GP Table Info from Victoria Yudin
Archived post from 2008. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.