@override Map<String, dynamic> toMap() { return { ...super.toMap(), 'params': { 'invoices': invoices.map((e) => e.toMap()).toList(), } }; }