let
Source = OData.Feed("https://bridge-online.cloud/acme-odoo/odata4", null, [Implementation="2.0"]),
#"Filtered Rows4" = Table.SelectRows(Source, each ([Name] = "Odoo.account.invoice_report@odo")),
#"Expanded Data2" = Table.ExpandTableColumn(#"Filtered Rows4", "Data", {"__last_update", "account_id", "account_id_label", "analytic_account_id", "analytic_account_id_label", "commercial_partner_id", "commercial_partner_id_label", "company_currency_id", "company_currency_id_label", "company_id", "company_id_label", "country_id", "country_id_label", "display_name", "fiscal_position_id", "fiscal_position_id_label", "id", "invoice_date", "invoice_date_due", "invoice_user_id", "invoice_user_id_label", "journal_id", "journal_id_label", "move_id", "move_id_label", "move_type", "partner_id", "partner_id_label", "payment_state", "price_average", "price_subtotal", "product_categ_id", "product_categ_id_label", "product_id", "product_id_label", "product_uom_id", "product_uom_id_label", "quantity", "state", "team_id", "team_id_label"}, {"__last_update", "account_id", "account_id_label", "analytic_account_id", "analytic_account_id_label", "commercial_partner_id", "commercial_partner_id_label", "company_currency_id", "company_currency_id_label", "company_id", "company_id_label", "country_id", "country_id_label", "display_name", "fiscal_position_id", "fiscal_position_id_label", "id", "invoice_date", "invoice_date_due", "invoice_user_id", "invoice_user_id_label", "journal_id", "journal_id_label", "move_id", "move_id_label", "move_type", "partner_id", "partner_id_label", "payment_state", "price_average", "price_subtotal", "product_categ_id", "product_categ_id_label", "product_id", "product_id_label", "product_uom_id", "product_uom_id_label", "quantity", "state", "team_id", "team_id_label"}),
#"Changed Type" = Table.TransformColumnTypes(#"Expanded Data2",{{"__last_update", type date}, {"invoice_date", type date}, {"price_average", type number}, {"price_subtotal", type number}}),
#"Filtered Rows" = Table.SelectRows(#"Changed Type", each ([account_id_label] = "800100 Omzet NL handelsgoederen 1" or [account_id_label] = "800200 Omzet binnen EU handelsgoederen 1" or [account_id_label] = "800300 Omzet buiten EU handelsgoederen 1")),
#"Changed Type2" = Table.TransformColumnTypes(#"Filtered Rows",{{"id", Int64.Type}, {"move_id", Int64.Type}}),
#"Removed Duplicates" = Table.Distinct(#"Changed Type2", {"move_id_label", "id", "invoice_date"}),
#"Removed Other Columns" = Table.SelectColumns(#"Removed Duplicates",{"Name", "account_id", "account_id_label", "commercial_partner_id", "commercial_partner_id_label", "id", "invoice_date", "invoice_user_id_label", "journal_id", "journal_id_label", "move_id_label", "partner_id_label", "price_subtotal", "product_categ_id_label", "state"}),
#"Changed Type1" = Table.TransformColumnTypes(#"Removed Other Columns",{{"id", type text}})
in
#"Changed Type1"