Itgengpr015 Unknown table 'VATRETURNASXBRLBYDOCUMENTID'

The advice is to check which values for DocumentCode are supported by the Twinfield APIs. For XBRL this is a different list than for XML.

See also a similar question at: Laden alle BTW-aangiftes Twinfield in SQL Server: itgenclr004 SSL connection could not be established