using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.IO; using System.Text.Json; using System.Threading.Tasks; class Program { private static readonly HttpClient client = new HttpClient(); static async Task Main(string[] args) { string token = "your_token_here"; // 🔐 Replace with your actual token string baseUrl = "https://api-stage.marmin.ai"; string createdDate = "2025-03-03"; // 🛡️ Add Authorization header client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token); string idsUrl = $"{baseUrl}/api/invoices/ids?created_on={createdDate}"; try { // 1) Get array of IDs ...