What’s the best way to fetch an invoice’s gross-to-net payment report ID? Specifically, I’m trying to call this /gross_to_net endpoint, which requires a gp_report_id field, but I’m not sure how/where to fetch this data via the Deel API.
Hello @olivertang
Please refer to List payroll events by legal entity for retrieving the needed ID for the G2N report,
and to List of legal entities for retrieving the Entity ID