Get the current state for snapshot creation
@override Future<dynamic> getSnapshotState() async => isInitialized ? invoiceStateToMap(currentState) : null;