// Approbation en masse
const result = await client.bills.bulkApprove({
billIds: [1, 2, 3],
comment: 'Approuvees en lot.',
});
console.log(`Approuvees : ${result.succèded}, Échouées : ${result.failed}`);
// Paiement en masse
await client.bills.bulkMarkPaid({ billIds: [4, 5, 6] });
// Planification en masse
await client.bills.bulkSchedulePayment({
billIds: [7, 8, 9],
scheduledDate: '2025-05-01',
});
// Suppression en masse
await client.bills.bulkDelete({ billIds: [14, 15] });
// Rappels en masse
await client.bills.bulkRemind({ billIds: [20, 21, 22] });